Hi,
I want to have the logo centered and burgermenue left. In Enfold Child Theme/Header i have logo left and menue right together with the Quick-CSS “div .logo { left: 30%; }”
But it is not a clean solution to keep the logo really in all responsive versions in the center, especially on mobile.
Do you have a better solution for a always centered logo?
Greets Gabi
Hey GaWi,
Here is the code you can put in Enfold > General Styling > Quick Css, if it does not work, put into themes/enfold/css/custom.css
div .logo {
display: block;
margin: 0 auto;
}
@media only screen and (max-width: 767px) {
.responsive #top .logo {
width: auto;
}
}
If you need further assistance please let us know.
Best regards,
Victoria
Hi Victoria,
I tried in both locations, but doesn´t work. Nothing changed.
I tried without following code I use:
div .logo { left: 30%; }
Any idea?
Greets Gabi
Hi Gabi,
I adjusted the code for you, please check.
Best regards,
Victoria
Hi Victoria,
I checked and now the menue and the search-icon moved down at the right side of the slider. Menue and search-icon jumps when I change the size of the Window.
Greets Gabi
Hi Victoria,
I turned back to the version before I had, because the client right now have a look on it.
Is there any good resolution logo center and burgermenue left?
Greets Gabi
Hi GaWi,
This code works fine, I added it to the Quick css and it works on all screen sizes.
div .logo {
display: block;
margin: 0 auto;
}
@media only screen and (max-width: 767px) {
.responsive #top .logo {
width: auto;
}
}
Best regards,
Victoria
Hi Victoria,
it looks fine. Thanks a lot – like always fabulous phantastic suport.!
Greets Gabi
Hi,
I’m glad this was resolved. If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon