Shopify themes, liquid, logos, and UX
Hello all,
I am currently using the Supply theme - my shop (in French) can be found at the following address: https://assiettes-anciennes.fr/
I have just added my logo and I am happy with the way thing look on desktop, but on mobile the header is too big.
I would like to reduce the top and bottom margin (or padding?) to reduce the size of the header, on the mobile version only (see printscreens below)
I have checked the CSS code but haven't found where to change this - but I'm not very good with code...
Thank you very much for your help!
Camille
Solved! Go to the solution
This is an accepted solution.
@media only screen and (max-width: 768px) {
h1.header-logo {
margin: 0;
padding: 0;
}
header.site-header {
padding: 0;
}
}
Hi,
Add this css at the bottom of
Online Store->Theme->Edit code->Assets->theme.scss.liquid
This is an accepted solution.
@media only screen and (max-width: 768px) {
h1.header-logo {
margin: 0;
padding: 0;
}
header.site-header {
padding: 0;
}
}
Hi,
Add this css at the bottom of
Online Store->Theme->Edit code->Assets->theme.scss.liquid
Thanks!
Seems to have worked nicely.
Thank you again for a very quick and efficient response.
Camille
Hi,
Thank you for the code!
This has helped, however I still have white space below the logo. Please could you assist.
Hello Kade,
Add this css at the bottom of
Online Store->Theme->Edit code->Assets->theme.scss
@media screen and (max-width: 768px){
.main-content {
padding-top: 0px !important;
}
}
Are you ready to take your business to the next level? Look no further than the latest ...
By SarahF_Shopify Apr 15, 2024We’re keeping the ball rolling to make sure you’re always ahead of the game. So buckle ...
By JasonH Apr 8, 2024Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024