Is there a way to start with a menu open but not active when the page loads? This is important because your design does not distinguish between a group with items and a link.
I can see the following states: Open and active: navigation__sub navigation__sub--active navigation__sub--toggled Closed and not active: navigation__sub navigation__sub--toggled Open and not active on click: navigation__sub
When I give it the class "navigation__sub" on load it does not start in the open state.
Nice template, thanks. Is there a way […]
Is there a way to start with a menu open but not active when the page loads? This is important because your design does not distinguish between a group with items and a link.
I can see the following states:
Open and active: navigation__sub navigation__sub--active navigation__sub--toggled
Closed and not active: navigation__sub navigation__sub--toggled
Open and not active on click: navigation__sub
When I give it the class "navigation__sub" on load it does not start in the open state.
Thanks!
<li class="navigation__sub navigation__sub--toggled">