I want my logo to shrink and center when accessing my page on mobile devices? How can I achieve this?
Hi crewneck!
Please add following code to Quick CSS
.responsive .logo {
left: 35%!important;
position: relative;
}
@media only screen and (max-width: 480px) {
.responsive .logo {
left: 25%!important;
position: relative;
}}
Regards,
Yigit
Hi!
The logo is currently situated on the left. Where do you want to position the menu when you center align the logo? Have you tried using the Logo center, Menu below option on Enfold > Header > Menu and Logo Position settings?
Cheers!
Ismael
As far on the right as possible.
Hey!
Alright. Go to Enfold > Header > Header Behavior then enable the Let logo and menu position adapt to browser window. Add this on Quick CSS:
div .logo {
float: none;
position: absolute;
z-index: 1;
left: 50%;
-webkit-transform: translate(-50%, 0);
-moz-transform: translate(-50%, 0);
-ms-transform: translate(-50%, 0);
transform: translate(-50%, 0);
}
Cheers!
Ismael