[Resolved] Secondary Navigation disappears on mobile pones

Home Forums Support Secondary Navigation disappears on mobile pones

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #576421
    steffen-bachmann

    I just found the effect, that the secondary navigation disappears on mobile phones (see https://no-brain-no-pain.de/wp/
    ).

    How can i make it visible on mobile devices?

    Greetings
    Steffen Bachmann

    GeneratePress 2.1.1
    GP Premium 1.6.2
    #576439
    Leo
    Staff
    Customer Support

    Hi there,

    Replace this CSS you’ve added:

    body.mega-menu-primary button.menu-toggle {
        display: none;
    }

    with this:

    body.mega-menu-primary button.menu-toggle:not(.secondary-menu-toggle) {
        display: none;
    }

    Let me know.

    #576465
    steffen-bachmann

    I found an other solution. This is what appears, when i’m shrinking the display size:

    @media (max-width: 768px)
    .secondary-navigation ul {
        display: none;
    }

    I just inserted in the customizer in additional css that:

    @media (max-width: 768px)
    .secondary-navigation ul {
        display: block;
    }

    This is working fine and i hope this will be a long time solution. 🙂

    Greetings
    Steffen

    #576484
    Leo
    Staff
    Customer Support

    Glad you found a solution!

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