[Resolved] Secondary Navigation – Display over content

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

Home Forums Support Secondary Navigation – Display over content

  • This topic has 3 replies, 2 voices, and was last updated 5 years ago by Tom.
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!

    #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

    Glad I could help πŸ™‚

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