How do I get to the “current” state of the dropdown toggle…I want to have main dropdown text link show an active state when one of its menu link pages is being used. This may or may not get me there.
Hi @nathanphilsteele great question! You cannot actually set the current state of a dropdown toggle unless you have a text link in your dropdown and you’re on the page it is linked to.
When you navigate to a sub-page which you link to from a dropdown link in your dropdown:
Agreed on the settings option for sure! @Christoffer
It appears the initial design that the code was created for has changed since the original posting…I’m have a hard time paring out where to put what element. For instance, “.w-” the name of one of your elements?