Solved

how to hide announcement bar and footer form single page dawn theme

vcockerham2002
Tourist
26 0 1
Accepted Solution (1)

Sweet_Savior_3
Shopify Partner
1040 82 93

This is an accepted solution.

Hello @vcockerham2002 

 

Open theme.liquid file and search for {% section 'announcement-bar' %}

Replace it with below code:

 

 

{% unless page.handle == 'landing-page-corporate-gifts' or page.handle == 'landing-page-real-estate' %}
{% section 'announcement-bar' %}
{% endunless %}

 

 

 

Similarly search for {% section 'footer' %}

and replace it below code:

 

 

{% unless page.handle == 'landing-page-corporate-gifts' or page.handle == 'landing-page-real-estate' %}
{% section 'footer' %}
{% endunless %}

 

 

 

Thanks

Don't forget to like and accept the solution to help others store owners.
Looking for an expert for your store ? Hire Me
Have any queries ? Send Here
From Less To Further !!!

View solution in original post

Replies 2 (2)

Sweet_Savior_3
Shopify Partner
1040 82 93

This is an accepted solution.

Hello @vcockerham2002 

 

Open theme.liquid file and search for {% section 'announcement-bar' %}

Replace it with below code:

 

 

{% unless page.handle == 'landing-page-corporate-gifts' or page.handle == 'landing-page-real-estate' %}
{% section 'announcement-bar' %}
{% endunless %}

 

 

 

Similarly search for {% section 'footer' %}

and replace it below code:

 

 

{% unless page.handle == 'landing-page-corporate-gifts' or page.handle == 'landing-page-real-estate' %}
{% section 'footer' %}
{% endunless %}

 

 

 

Thanks

Don't forget to like and accept the solution to help others store owners.
Looking for an expert for your store ? Hire Me
Have any queries ? Send Here
From Less To Further !!!
vcockerham2002
Tourist
26 0 1

Thank you!