Hi,
I added the following code into Quick CSS:
.responsive #top .logo img {
margin: auto;
vertical-align: centered;
}
.responsive #top .logo {
width: 100%!important;
height: 100%!important;
}
On mobile the logo sticks on the top and is not vertically centered. Any ideas?
Thanks and best regards,
Realit Treuhand AG
I forgot to mention that the header custom heigt is 72px and the logo dimensions are 250x52px
Hi,
Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child themes style.css file:
.responsive #top .logo img {
top: 10px;
}
Best regards,
Yigit
Thanks Yigit. We tried this before. This makes it fine on mobile but on PC the logo is not centered anymore (no padding between logo and slider).
Is it possible to only change it for mobile view?
Best regards,
Michel & Aline
Hi!
Yes, please change the code to following one
@media only screen and (max-width: 768px) {
.responsive #top .logo img {
top: 10px;
}}
Best regards,
Yigit
Perfect. Thanks Yigit.