Keep active menu item collapsed

Hi!

I use a global blocks collapsed navigation menu in the widgetarea. I’d like to keep the active menu/submenu items collapsed so you can see where you are and what else you can visit in that section. It now only shows a transparant active menu item, but you don’t see the submenu of that.
Is it possible to change that behavior?
Regards, Natalie

Hello Natalie,

Thanks for writing in!

To override the default behavior and open up the submenu when the page is active, please add the following CSS code in the X > Theme Options > Global CSS (http://prntscr.com/evui3r)

.current-menu-ancestor .x-collapsed,
.current-menu-parent .x-collapsed {
    display: block;
}

We would love to know if this has worked for you. Thank you.

That worked perfect, many thanks!

You’re welcome!
We’re glad we were able to help you out.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.