Community forum for knowledge and support

Updated 9 months ago

Weird Behavior When Using Anchor Tags On Sections

At a glance

hey there, having a weird behavior when using anchor tags on sections. the nav item (that links to the section) when scrolling over that section changes color. I don't see any alternative state differences or interactions. here's the read-only link for reference: https://preview.webflow.com/preview/ow-foundation-r?utm_medium=preview_link&utm_source[…]r&preview=1a9baef153e51803e72501023d703782&workflow=preview

M
1 comment

yeah so its a native combo class that gets applied when the user scrolls to that section - webflow adds a green current to the nav item - this is where you'd make style changes.

The quickest way I was able to get to this state was to go into preview mode, click on the nav item, let it scroll to the spot, go back to designer, and select the nav item - and you should see the current class.

Add a reply
Sign up and join the conversation on Slack