Full width mega menu - by jonathan@cheersgoodtime.com

This topic has 3 replies, 2 voices, and was last updated 4 years, 3 months ago ago by jonathan@cheersgoodtime.com

  • Avatar: jonathan@cheersgoodtime.com
    jonathan@cheersgoodtime.com
    Participant
    April 4, 2021 at 17:25

    Hi team,

    I have built a mega menu using static blocks. Im trying to make it full width (100vw) however there are still gaps either side. I’ve used a code snippet which I’ve found in the forums:

    .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;
    }

    The custom css works and makes the mega menu full width. However it’s buggy. The columns in the menu seem move to the right not centered. A few refreshes of the screen it sometimes centers and sometimes not.

    Also it is impossible to move the cursor onto the mega menu to choose a selection as there is a gap between the nav link and menu.

    How are we able to get a full width mega menu working properly?

    Please, contact administrator
    for this information.
    2 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Participant
    April 5, 2021 at 18:45

    Hello,

    1) Don’t enable the stretch section option for the mega menu section in the elementor settings to avoid problems with the mega menu aligment
    2) Check the mega menu appearance on hover now. I added custom code to avoid disappearing.

    Regards

    Avatar: jonathan@cheersgoodtime.com
    jonathan@cheersgoodtime.com
    Participant
    April 6, 2021 at 02:31

    Thank you very much it is working now.

    Cheers

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

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

Helpful Topics

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