Hello Enfold team,
I tried to use the enfold solution to have a centered logo and a menu left and right. This is the code is used:
/* Split menu
—————-*/
@media only screen and (min-width: 780px) {
/*In the below code nth-child(x) the value of x should be half the number of total menu items*/
#top #header .av-main-nav li:nth-child(3) {
/* Adjust the width of the logo */
margin-right:150px;
}
#header .main_menu {
/*background: gold;*/
width: 100%;
left: 50%;
transform: translateX(-50%);
}
.av-main-nav-wrap {
left: 50%;
transform: translateX(-50%);
}
#header .logo {
left: 50%;
transform: translateX(-50%);
z-index:999;
}
#header .logo img {
top: 50%;
transform: translateY(-50%);
max-width: 100px;
}
}
The Problem is, that the logo gets shrinked with this solution.
Because of that I tried:
#header .logo img {
top: 50%;
transform: translateY(-50%);
max-width: 300px;
}
Now the logo has the right size but it overlays the menu items.
I would like to have a large logo and the menu items on the very right and left.
Greetings
Felix
Hi,
Could you please post a link of your website so we can see the issue? :)
Cheers!
Yigit
Hey Yigit,
Thank you for the quick answer!
you find a temporary login in the private Content :)
Hi,
Thank you for the update.
You can adjust the right margin of the “About” menu item.
#top #header .av-main-nav li:nth-child(3) {
margin-right:150px;
}
Try to set it to 250px.
#top #header .av-main-nav li:nth-child(3) {
margin-right: 250px;
}
Best regards,
Ismael
Thank you Ismael!
That worked perfectly!
Greetings Felix