Align mega menu at center - by howard - on WordPress WooCommerce support

1 reply2 participantsUpdated by Rose Tyler

  • Avatar: chihao.weng
    howard
    Participant

    This is a testing website. I try to make a mega menu align at the fixed center but it align center below that menu item (佛牌與聖物)

    Please refer to the following image , I wanna center the mega menu to the green area not red area.

    https://ibb.co/cDBmkj4

    1 Answer

    Avatar: Rose Tyler
    Rose Tyler
    Support staff

    Hello,

    Add the next code in Theme Options > Custom CSS:

    .et_b_header-menu.et_element-top-level .item-design-mega-menu {
        position: static;
    }
    .et_b_header-menu.et_element-top-level .item-design-mega-menu .nav-sublist-dropdown:not(.nav-sublist) {
        right: 0 !important;
        left: 0 !important;
        margin: 0 !important;
        width: 100%;
    }

    Regards

Want to reply? Log in, or register with your ThemeForest purchase code, to reply to this topic.

Login / Register