Tagged: logo padding
Hi,
I would like to adjust top padding of the logo on desktop only, i’ve added the css below and it works but seems it affected the mobile version logo as well.
#header_main {
padding: 20px 0;
}
so how to make it just adjust the desktop version only?
Logo now is display on the left
Thank you,
Manjii
Hey manjii,
Try to use this code:
@media only screen and (min-width:1025px) {
#header_main {
padding: 20px 0;
}
}
Hope it helps :)
Best regards,
Nikko
perfect!! thank you
btw i just realize need to adjust the logo top padding and left padding in tablet too
I’ve tried this code but seems not working
@media only screen and (max-width: 989px) and (min-width: 768px) {
#header_main {
padding: 20px 0;
padding-left:50px;
}
}
Hi manjii,
The code you posted will only work on tablet in portrait mode but not on landscape.
Tablet in landscape mode is atleast 1024px in width.
Best regards,
Nikko