A user wants to remove the navigation menu from their homepage only (keeping it on other pages) in Shopify’s Dawn theme.
Initial Solutions Provided:
Two support teams (GemPages and PageFly) offered CSS code snippets to hide the navigation menu specifically on the homepage
Both solutions use conditional logic ({% if template == 'index' %}) to target only the homepage
Code should be added to the theme.liquid file before the </head> or </body> tag
Follow-up Request:
The original poster clarified they also want to hide the logo and search icon (not just the navigation menu), leaving only the banner visible on the homepage.
Current Status:
The discussion remains open with the user awaiting a solution for removing additional header elements (logo and search icon). A later contributor shared a guide with ready-to-use code examples for Dawn 15.4.0 and Horizon 2.0.3 themes that may address the expanded requirements.
Summarized with AI on October 26.
AI used: claude-sonnet-4-5-20250929.
Thank you for the assistane, it looks good so far. I’d like the logo and search icon removed as well - is this possible? I just want the banner to show.
Our website is not the screengrab you shared, that is the example I gave.
The screengrab i shared is what my website looks like when the first set of code is added. I’d like to remove the logo and search icon along with the navigation and not just the navigation.