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
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024