Vertical menu: Expanding and closing the submenu
-
I am looking for a way to close the submenu when I open another main menu.
I have implemented the CSS code offered by Ocean WP to keep the submenu open as soon as I navigate in it./* Display all sub menu on the current page */ site-header.vertical-header #site-navigation-wrap .dropdown-menu > li.current-menu-parent .sub-menu { display: block !important; }
Now it should close when I open another main menu item. At the moment I can open an infinite number of submenus and the menu is getting longer and longer.
The page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Vertical menu: Expanding and closing the submenu’ is closed to new replies.