disable announcement bar on all pages except for home screen (craft theme)

ExoticSouls
Explorer
114 0 15

Hello, I’m looking to disable the announcement bar on all pages and only display on my home screen

 

my site is www.exoticsouls.world and my password is esfam1

 

Any help is appreciated , thank you

 

 

Replies 3 (3)

Salil17
Shopify Partner
86 5 12

First try to find the where the announcement bar code is written. Most of the time it's in the header section.

 

Then - put the Code in 

{% if template == 'index' %}

 

// code here

{% endif %}

 

Was my reply helpful? Please Like and Accept Solution. This mean a lot to me.

ExoticSouls
Explorer
114 0 15

please guide me where to put it im confused 

Salil17
Shopify Partner
86 5 12

You need to find the announcement bar code first. If you need more help I'll be happy to help.