Site logo

Archived topic

Page scroll to id to highlight current element on sticky nav

3 replies · Started by scott doel on November 13, 2017

Viewing posts 1–4 of 4

I have created a simple one-page site with scroll to anchor links, using the full site address so it works on other pages etc. But when I am on the page with the links they are all highlighted on the menu. I searched here and found a previous discussion here but I cant get it to work using GP Hooks for the header or footer.
Do I need to amend the code?

I appreciate I could use page scroll to ID plugin but I really wanted to do it without adding another plugin if thats possible

Since they all link to the home page, they use the current menu item color you have set in the Customizer.

You can adjust the current menu item color to match the regular menu items.

Doh! wish I thought of that yesterday, thanks Tom that works for me

Awesome :)

This archived topic is closed to new replies.