Archived topic
Change Active State navigation buttons on Scroll
3 replies · Started by Sjoerd on March 26, 2018
A client want to use GeneratePress as one pager, but wants to change the corresponding navigation buttons from color while scrolling down the page.
So when an anchor-ID is reached the active button in the sticky menu should change to the button with the anchor-URL.
Anyone has the solution for this in combination with GP?(Jquery probably)
Hi there,
You could try a plugin like this: https://wordpress.org/plugins/page-scroll-to-id/
It should achieve that :)
Thanks Tom! that will solve it.
No problem :)