issue:
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.
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
The w–current class is the class webflow adds to links in a navbar component. Looks like you have a custom sidebar menu you created without that component. If that is the case you would need to add the class you want to use to style those links when the location changes (clicked a link to an anchor) pragmatically. In webflows case, you would do it via JavaScript (client side).
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!