Multiple pages in the dropdown are highlighted

Hi everyone!
We have 2 symbols for the navigation bar (1 for black pages and a 2nd one for white pages). As you can see in the image below, the dropdown on the white pages “All” & “Blog Archive” are always highlighted despite the page that the user selected.

How can I fix this so that only the selected page is highlighted?

Staging Link: About us | Blog | Vectornator
Read-Only link: Webflow - Vectornator


hi @Silvia Your problem is that these categories has dynamically added Webflow class w--current while you are pointing to current page with aria-current. I didn’t dig deep into your code so its up to you to check what is causing class w--current be activated and dynamically added to two links elements.

1 Like