All things Shopify and commerce
Hi Shopify community,
I'm struggling with my Header, where my mobile look well, my desktop is not.
how to change the size of my desktop header like the mobile one, without impacting the mobile sizing.
website : https://www.bonnedose.co/
Best
Solved! Go to the solution
This is an accepted solution.
Hi @Vironne
@media screen and (min-width: 1024px){
header.header {
padding-block: 10px !important;
}
}
Hey @Vironne
Follow these Steps:
1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code in the bottom of the file above </body> tag
<style>
@media screen and (min-width: 768px) {
header {
padding-top: 35px !important;
padding-bottom: 35px !important;
}
}
</style>
RESULT:
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
This is an accepted solution.
Hi @Vironne
@media screen and (min-width: 1024px){
header.header {
padding-block: 10px !important;
}
}
thanks a lot 🙂
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025