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?
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;
}
yes, logo left, menu below centered.
thanks
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;
}
wow, awesome fast response. Brilliant!
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