[Resolved] Mega Menu

Home Forums Support [Resolved] Mega Menu

Home Forums Support Mega Menu

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #2518547
    Nicole

    I am trying to build a mega menu.
    I have followed the instructions here but I don’t have an option to enter a CSS class as per the instructions.
    Could it be an issue with my version of WP or GP?

    #2518720
    David
    Staff
    Customer Support

    Hi there,

    you have to enable the CSS Classes field in Appearance > Menus –> Screen Options – see here:

    https://docs.generatepress.com/article/using-the-wordpress-menu-builder/#custom-classes

    #2518858
    Nicole

    Great! Thanks! That solved it!
    Is it possible to add a bit of padding to the top or do something to prevent the logo from covering the menu?

    I have set the mega menu to the second drop down from the left but the digital planner is covered by the logo.

    #2518928
    Ying
    Staff
    Customer Support

    Hi Nicole,

    Try this css:

    @media(min-width: 769px) { 
    nav .main-nav >ul li> ul {
        top: 80px;
    }
    
    nav .main-nav >ul >li> ul:before {
        content: "";
        position: absolute;
        top: -40px;
        height: 40px;
        width: 100%;
    }
    }
    #2519539
    Nicole

    Worked perfectly! Thanks!

    #2520397
    Ying
    Staff
    Customer Support

    No problem 🙂

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