Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #688761

    I am trying to get the main menu to be centered. It is currently set to logo left, menu below. I have tried a few different options but need to keep it responsive as well. Can you help with this?

    #688770

    And why do you choose this in enfold options?
    On Enfold Options / Header / Header-Layout there is the possibility to choose Logo center menu below.

    Or do you want to have the logo left – menu below but centered ?

    Try this in quick css:

    .av-main-nav-wrap ul {
        display: inline-flex;
        left: 50%;
        position: relative;
        transform: translate(-50%);
        width: auto !important;
    }
    • This reply was modified 8 years, 3 months ago by Guenni007.
    #688775

    yes, logo left, menu below centered.

    thanks

    #688784

    sorry the search has to be thought of:

    .av-main-nav-wrap ul#avia-menu {
        display: inline-flex;
        left: 50%;
        position: relative;
        transform: translate(-50%);
        width: auto !important;
    }
    
    #menu-item-search {
        float: left !important;
    }
    #688788

    wow, awesome fast response. Brilliant!

    #688793

    Hi!


    @guenni007
    Thanks a lot for your help :)

    Best regards,
    Yigit

    #688797

    if you have a lot of menu list first level entries or long terms – so that there is not enough place for the menu-list-points before it goes to mobile view – we had to find different settings

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘centering the main menu’ is closed to new replies.