vertical menu: Submenu not collapsing when clicking nee menu item
-
Derar forum members,
I have created a vertical menu using OceanWP which works almost perfectly.
In order to keep the submenu open (and not collapse after clicking) I used this css I found in this forum.I would like to know if there’s a way to close the submenu you are in when clicking in other main-menu item. What happens now is that it stays open until you click in a new sub-menu.
.current-page-ancestor>a, .current-menu-item >a { color: #07cab8 !important; } .current-page-parent>a{ color: initial !important;} #site-header.vertical-header #site-navigation-wrap .dropdown-menu li.current-page-ancestor > .sub-menu { display: block !important; }
–
The page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘vertical menu: Submenu not collapsing when clicking nee menu item’ is closed to new replies.