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: https://vectornator.webflow.io/categories/about-us
Read-Only link: https://preview.webflow.com/preview/vectornator?utm_medium=preview_link&utm_source=designer&utm_content=vectornator&preview=d501579d1d742e610e276ff41d335adc&mode=preview

Thanks!

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