[Resolved] Mega Menu Width

Home Forums Support Mega Menu Width

  • This topic has 5 replies, 3 voices, and was last updated 1 year ago by David.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1230494
    Gary

    I know this question has probably been asked several times but I was wondering if there is a way to set the CSS mega menu so that the drop downs are the same as the page width instead of the menu width? It works fine with my sticky menu but not the main menu. My website URL is http://www.christtheteacher.ca/ctt/. Any CSS tweaks would be greatly appreciated.

    Thanks,
    Gary

    #1230615
    Leo
    Staff
    Customer Support

    Hi there,

    Try activating this option:
    https://docs.generatepress.com/article/navigation-as-a-header/

    Let me know if this helps 🙂

    #1230633
    Gary

    Hi Leo,

    I activated the “Use Navigation as Header” option and that resolved the problem with the width of the mega menu. Now my header background is “white” and the logo is too large after adjusting the header height. I can’t find the setting to change the header background. Do I need to create a new page header element to fix these problems?

    Thanks,
    Gary

    #1230930
    David
    Staff
    Customer Support

    Hi there,

    The Navigation as Header – replaces the header with the Nav. So Customizer > Colors > Primary Navigation is where you can set them.

    The logo is now defined by the Menu Item Height in Customizer > Layout > Primary Navigation. Reduce that to reduce the logo.

    Or you can use this CSS to change its size independently:

    .navigation-branding img {
        height: 60px;
    }
    #1231157
    Gary

    Hi David,

    Not sure how I missed the background color, thanks for pointing me in the right direction. I also used the CSS code to resize the logo and that worked great as well. Thank you so much for all the great support. I think I finally have my theme setup the way I wanted it. You guys rock when it comes to support!

    Gary

    #1231434
    David
    Staff
    Customer Support

    Glad we could be of help

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