[Resolved] secondary menu is hidden in mobile

Home Forums Support secondary menu is hidden in mobile

  • This topic has 9 replies, 2 voices, and was last updated 11 months ago by David.
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1042967
    Victor Valladolid

    for some reason and only on the mobile, the secondary menu does not appear.

    I have searched for personalization and help topics, I have not found any solution.

    Will you have any idea what happens?

    Gracias,

    Saludos desde México

    #1043168
    David
    Staff
    Customer Support

    Hi there,

    you have this CSS in your Child Theme:

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

    Hello David,

    Thanks for answering.

    I don’t have this CSS.

    Regards,

    #1043210
    David
    Staff
    Customer Support

    Can you flush and disable the cache plugins including autoptimize so i can see where it is coming from

    #1043257
    Victor Valladolid

    Ready, plugin disabled

    #1043284
    David
    Staff
    Customer Support

    The max-mega menu plugin is applying this CSS which removes the mobile toggle:

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

    Do you want the mobile toggle displayed or the horizontal nav?

    #1043520
    Victor Valladolid

    Hello David,

    Where is that CSS code, I can’t find it.

    In fact, the secondary menu does not have Mega Menu activated.

    Perform a test and activate the Mega Menu for the secondary menu and if it is shown on the mobile as such.

    My experience in this is limited.

    I want to release the toggle menu on the mobile.

    Thank you,

    Greetings from Mexico

    #1043522
    David
    Staff
    Customer Support

    The CSS is coming from the plugin – its not specific enough to target just the primary nav. Use this CSS to override that:

    @media(max-width: 768px) {
        body.mega-menu-primary .secondary-navigation .menu-toggle {
            display: block;
        }
    }
    #1043533
    Victor Valladolid

    Excellent, it is solved.

    I included the CSS in the theme customization http://prntscr.com/pnm9iu

    It’s very weird, I have other sites with the same add-ons and GeneratePress Pro and I hadn’t had this problem.

    Thank you very much David, wonderful and fast support.

    Regards,

    I close the topic.

    #1043565
    David
    Staff
    Customer Support
Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.