All things Shopify and commerce
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
hi! How do I hide the announcement bar and footer from a single page. these are the 2 pages i want to hide them on:
https://appleblossomgiftbaskets.com/pages/landing-page-real-estate?_pos=1&_psq=land&_ss=e&_v=1.0
and
Solved! Go to the solution
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
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
Thank you!