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 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