[Resolved] Secondary Navigation – Display over content

Home Forums Support [Resolved] Secondary Navigation – Display over content

Home Forums Support Secondary Navigation – Display over content

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #851732
    Stephane Bergeron

    Hi,

    I’m working on a site and working on tweaking responsive. I have a secondary navigation menu that goes down to the hamburger at 900px. The site uses merged headers. The issue I have is that, when opening the menu from the toggle, the content of only the header is is pushed down hiding some stuff below. I understand why it does that but, instead of that, I’d like to have the menu display over the content like the main navigation instead of pushing anything downward. Any tips on how to achieve that would be much appreciated.

    Thanks!

    GeneratePress 2.2.2
    GP Premium 1.7.8
    #851911
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    You could do this:

    .secondary-navigation.toggled .main-nav > ul {
        position: absolute;
        left: 0;
        right: 0;
    }

    Let me know if you need more info πŸ™‚

    #853638
    Stephane Bergeron

    Hi Tome,

    That worked perfectly. Thank you very much! You rock πŸ™‚

    #853659
    Tom
    Lead Developer
    Lead Developer
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.