Site logo

Archived topic

Keep Sub-Navigation open when in a child page

3 replies · Started by Antonio on June 19, 2019

Viewing posts 1–4 of 4

Hi,

I would like to keep the sub-navigation open only when in a child page (as I am using the off-canvas navigation and the structure is quite complicated).

Basically I would like to see the sub-navigation open in the Slide-out menu when click on the hamburger menu.

Is that possible?

If yes can you please help me?

I have GP Premium and I am using a child theme

Hi there,

try this CSS:

#generate-slideout-menu .slideout-menu li.current-menu-ancestor > ul {
    display: block !important;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    height: auto;
    overflow: visible;
}

Great, it works :) Thanks a lot

Awesome - glad to be of help.

This archived topic is closed to new replies.