Archived topic
One page navigation
7 replies · Started by Radek on April 18, 2020
Hi everyone. What is Your best solution to change navigation/sticky navigation menu items to active (hover) when reach ID section on onepage scrolling ? Not using sections from GP, just GPP header+footer and rest of page with elementor with anchor manualy added to each "section". Thanx a lot.
Hi there,
That would require custom development.
Really ? This is something I see online every day, so there must be some "classic" solution...
The alternative is this plugin:
Hi Radek and David,
How about this in stead of a plugin ? Pros and cons ? Why the recommendation of the plugin ?
https://wordpress.org/support/article/page-jumps/
I could not make it work with Sections though, because I could not find an easy way to add those page-jump-links. But is there not a standard, wordpress/generatepress-best-practice for making onepage-sites ?
Thanks.
Hi Jacob - yeah that looks like it could do the job.
For GP Sections you can use the Section ID to add your jump link.
Yep, that did the job. Thank you very much. Is there a fix having the Gutenberg editor for Sections or would that defeat the point of having sections or something ?
Jacob
Unfortunately not - the old Sections editor isn't block compatible.