on the home2 page -
The “current” class is not being added to the nav links “work” and “about” on the side of the page that are set to scroll down the page to it’s respective anchors. I hope someone can help me figure this out.
Missed reference to Home2. Reviewing
yes, I’ve just visited the link to double check. go to page titled home2, when you click either work or about you will see that the page scrolls to an anchor (watch the scroll bar move) and current class should be added but for some reason it is not
Two menu items point to the same anchor. Try changing that.
done, no effect (and the rest of twenty characters )
The issue is that the anchor is only 10px high
In your first post you said "
It works - the issue was that the anchor was only 10px high so the class was added and immediately removed. After I’ve increased the hight it works as expected. Thank you for the help investigating - much appreciated!
I did not see the w–current class on the active section on the published site. Glad your all set. Cheers