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
We recently spoke with Zopi developers @Zopi about how dropshipping businesses can enha...
By JasonH Oct 23, 2024A big shout out to all of the merchants who participated in our AMA with 2H Media: Holi...
By Jacqui Oct 21, 2024We want to take a moment to celebrate the incredible ways you all engage with the Shopi...
By JasonH Oct 15, 2024