Hallo,
damit das Logo (Originalgröße 642 x 560 px) im Header (indiv. Höhe 200 px) in der Mitte ist, und das Menü aber rechts ausgerichtet ist,
habe ich folgenden Code ins Quick-CSS integriert:
#top #header_main .logo {
left: 50%;
margin-left: -75px;
}
.logo img {
height: auto;
width: 200px !important;
}
.logo img {
padding:5px !important;
}
.logo { top: 15px; }
Allerdings wird das Logo jetzt auf dem iPhone extrem verzerrt.
Was habe ich falsch gemacht?
Vielen Dank im Voraus für Eure Tipps.
Schöne Grüße
Gregor
Hey HERZBLUAT,
Could you please give us a link to your website, we need more context to be able to help you.
Best regards,
Victoria
Hi Gregor,
Thanks for that. If you don’t want your CSS applying on mobile devices, then you can wrap it in a media query like this:
@media only screen and (min-width: 768px) {
Add the CSS which you don't want applying on mobile here
}
Best regards,
Rikard
Thank you Rikard!
You helped me a lot, the problem is solved. 😊
Hi,
I’m glad this was resolved. If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon