HI,
I’m looking to hide the header on home page only for both mobile and desktop (header, nav bar, search icon, cart,). my site is https://b32b39-5.myshopify.com/
thank you
HI,
I’m looking to hide the header on home page only for both mobile and desktop (header, nav bar, search icon, cart,). my site is https://b32b39-5.myshopify.com/
thank you
Hey @Luxurymrkt
Follow these Steps:
Go to Online Store
Edit Code
Find theme.liquid file
Add the following code in the bottom of the file above tag
{% if template == 'index' %}
{% endif %}
RESULT:
If I managed to help you then, don’t forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Hi @Luxurymrkt ,
You can try this code by following these steps:
Step 1: Go to Online Store->Theme->Edit code.
Step 2: Search file theme.liquid
Step 3: Paste the below code at the bottom of the file → Save
{% if template.name == "index" %}
{% endif %}
Hope my solution works perfectly for you!
Best regards,
Oliver | PageFly
thank you