Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

Keep active dropdown menu open

Home / Forums / Virtue Theme / Keep active dropdown menu open

This topic is: Not Resolved
[Not Resolved]
Posted in: Virtue Theme
March 16, 2015 at 10:25 am

Hi,

I am trying to set up my menu so that the dropdown menu of the active page remains visible regardless of cursor location, to let users know where they are on the website.

This css solves half of the problem:
#nav-main ul.sf-menu li.current_page_parent .sf-dropdown-menu {display: block !important;}

But the dropdown menu will remain visible when scrolling over other links in the menu, I want it to revert to its regular invisible behaviour while navigating the menu. Is it possible using css classes to acheive this effect, or possibly in functions.php? I would prefer to avoid modifying any javascript files if possible.

  • The forum ‘Virtue Theme’ is closed to new topics and replies.