• tilda500

    (@tilda500)


    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)
  • Shahin

    (@skalanter)

    Hello @tilda500,

    Unfortunately, this feature is not available on OceanWP theme.
    Achieving it would require a lot of customization.

    Best Regards

    • This reply was modified 11 months ago by Shahin.
Viewing 1 replies (of 1 total)
  • The topic ‘Vertical menu: Expanding and closing the submenu’ is closed to new replies.