How can I remove the header from homepage using Taste theme?

Topic summary

A user wants to remove the header from only the homepage while using the Taste theme. Initially, there was some confusion about whether the header was already removed, with one responder unable to see it on the preview site.

Proposed Solution:
One suggestion involved editing the theme.liquid file by adding conditional code before the </head> tag using template name logic to hide the header on the homepage.

Final Resolution:
The original poster successfully solved the issue independently by:

  • Locating the announcement bar and header sections in theme.liquid
  • Wrapping these sections with UNLESS brackets in relation to the INDEX page
  • This approach conditionally hides the header only on the homepage

A screenshot was provided showing the implementation. The solution requires basic Liquid template editing skills and access to the theme code editor.

Summarized with AI on November 23. AI used: claude-sonnet-4-5-20250929.

Hello,

I’d like to remove the header from the homepage and homepage only.
I’m using the Taste theme.

This is a preview URL, as we do not have this theme published yet.

https://9k5ugd6n0u5sbxn2-55043031221.shopifypreview.com

Any help would be much appreciated! Thanks!

Hi @Elliott94 ,

Did you remove it because I cannot see any header on your page? Or can you take a screenshot the part that you want to remove?

Hi @Elliott94
I would like to give you a solution to support you.

You can remove header from only homepage by following these steps:

  1. Go to Online Store → Theme → Edit code.

  2. Open your theme.liquid file.

  3. Add a code in here :

template__{{ template.name }}
  1. Paste the below code before


I hope my solution can work and support for you.

Best regards,
GemPages Support Team

I did manage to figure it out, yes. Thank you!

For anyone looking to do the same. Within the theme.liquid file I located the announcement bar and header sections. Then wrapped them with UNLESS brackets in relation to the INDEX page.

See screenshot.