I’m having trouble with
Hi there! I created a website for my client in WixStudio and everything worked out fine, except the menu bar. It’s a one-pager, and I added anchors to link the menu buttons to the corresponding sections. Now, when you click the menu the anchor link works, meaning you are seeing the correct section, but the active state of the menu items is not being activated it seems. I specified the menu items to be yellow on mouse over and on the active page, but that last bit, for some reason, doesn’t work.
Working in
Wix Studio Editor
Site link
What I’m trying to do
The menu should also function to show you where you are in the page, so while scrolling down each section in the menu should show yellow, once you’re there.
What I’ve tried so far
I’ve tried setting different anchors. So far, only the last section indicates correctly and the second to last one only when scrolling up.
Do you have other anchors really close to the anchors in the menu?
It could be that you have an anchor really close and within the same viewport area of anchors you have listed in the menu which would then not make them the “true” anchor a user is scrolling through, if that makes sense. You can kind of see it here:
I’d suggest added the anchor menu and removing any other anchors not in use to see if that resolves the issue.