Make mega menu full width of users screen

This topic has 3 replies, 2 voices, and was last updated 4 years, 8 months ago ago by Cover Lovers

  • Avatar: Cover Lovers
    Cover Lovers
    Participant
    March 27, 2021 at 05:26

    How am I able to make the mega menu for a specific tab on my main menu go to the full width of the user’s screen?

    This is what It currently looks like:

    We want the mega menu (white background) to be the full width of the screen.

    Please, contact administrator
    for this information.
    2 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    March 27, 2021 at 10:09

    Hello,

    Try to add the next code in Theme Options > Theme custom CSS:

    .header-wrapper .et_b_header-menu .menu .item-design-mega-menu.menu-item-has-children {
        position: static;
    }
    .header-wrapper .et_b_header-menu .item-design-mega-menu .menu-static-block.nav-sublist-dropdown {
        margin: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100%;
    }
    .header-wrapper .et_column {
        position: static;
    }

    or for “Apple” menu item only:

    .header-wrapper li#menu-item-5346 {
        position: static;
    }
    .header-wrapper li#menu-item-5346 .nav-sublist-dropdown {
        margin: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100%;
    }
    .header-wrapper .et_column {
        position: static;
    }

    Regards

    Avatar: Cover Lovers
    Cover Lovers
    Participant
    March 27, 2021 at 17:38

    Fixed, thanks

  • Viewing 3 results - 1 through 3 (of 3 total)

The issue related to '‘Make mega menu full width of users screen’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.