Shopify themes, liquid, logos, and UX
Hi. I'm having trouble reducing the padding of our header. The padding both above and below the logo is a bit excessive. I'm wanting to slim the header up just a bit. Any help?
Thanks in advance.
Hi @AoNSK
Would you mind to share your Store URL website? with password if its unpublish. Thanks!
Thanks for the info, check this one.
From your Shopify admin dashboard, click on "Online Store" and then "Themes"
Find the theme that you want to edit and click on "Actions" and then "Edit code".
In the "theme. Liquid" file. Find the </body> tag and paste the code below before the tag.
<style>
@media (min-width: 769px) {
.header__logo {
margin-bottom: 0;
}
store-header.header.bg-theme-bg.text-theme-text.has-motion {
padding-top: 0;
}
}
</style>
And Save.
Result:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Hey @AoNSK
Welcome to Shopify Community! Can you share your Store URL so I can have a look on it? Also, if you have password enabled then please share the password as well. Your cooperation would be greatly appreciated.
Best Regards,
Moeed
In Canada, payment processors, like those that provide payment processing services t...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025