Streaming live at 10am (PST)

Assigning a "Current" class to dropdown menu to show active parent menu


#1

Hi,

I am having trouble to find a solution here.
I would like the parent menu (e.g.: solutions) to keep its styling (white top border when one of the child menu (e.g.: manufacturing) is clicked and the page has loaded. Right now, once I clicked on the child menu, the parent menu loses its styling and its confusing for people to know where they are in the menu.

Project: https://preview.webflow.com/preview/apq-website?preview=deeec1fdf839477871d3b03bd5ff45ef

Thanks in advance for your help!

Guillaume.


#2

Hi @GuillaumeEyries, take a peek at this post, I think this is what you are after, correct me if I am wrong. https://forum.webflow.com/t/how-to-get-to-current-state-of-dropdown-toggle/41843/11

I hope this helps.