Shopify themes, liquid, logos, and UX
Hello, I am trying to remove the header off my store. I went to theme.liquid and removed the {% section 'header' %} ... the header is now gone, but there is now a large space before the announcement bar. I'm not sure what to do to remove that space. Help please.
I removed my footer the same way and that looks perfect.
This is what it looks like
Solved! Go to the solution
This is an accepted solution.
Hey @Johnesemarie,
Go to your theme's "Edit Code" Option, then in the search bar type "theme.liquid"
Below the tag "<head>" tag paste the following. Screenshot attached for reference.
<style>
body > cart-drawer.drawer {
display: none !important;
}
</style>
Screenshot is for reference only, the correct code to paste is the one shown above.
Hey @Johnesemarie,
Can you share the link to your store?
jmhaircollection.com
This is an accepted solution.
Hey @Johnesemarie,
Go to your theme's "Edit Code" Option, then in the search bar type "theme.liquid"
Below the tag "<head>" tag paste the following. Screenshot attached for reference.
<style>
body > cart-drawer.drawer {
display: none !important;
}
</style>
Screenshot is for reference only, the correct code to paste is the one shown above.
Thank you so much !
Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025Expand into selling wholesale with Shopify Academy’s learning path, B2B on Shopify: Lau...
By Shopify Jan 28, 2025