people are distracting because of header and footer. hence how to hide only single specific page?
Hi, @arkray
Please share the store URL so that I can assist you.
You can try this code by following these steps:
Step 1: Go to the online store ->Theme ->Edit Code.
Step 2: Find the theme.liquid file and add the following code above the tag
for example: collection page
{%- if template == 'collection' -%}
{%- endif -%}
Hopefully it will help you. If yes then Please don’t forget hit Like and Mark it as solution!
Hello @arkray
Welcome to Shopify Community.
Open theme.liquid and search for {% sections ‘header-group’ %} and {% sections ‘footer-group’ %}
And replace both of them with below code.
{% unless product.handle == ‘free-glucocard-g-device-with-25-alu-strip-pack’ %}
{% sections ‘header-group’ %}
{% endunless %}
{% unless product.handle == ‘free-glucocard-g-device-with-25-alu-strip-pack’ %}
{% sections ‘footer-group’ %}
{% endunless %}
Thanks
Thanks i modified your code and got it solved
{%- if product.id == 7962830143662 -%}
#shopify-section-header, #shopify-section-footer{ display: none; }{%- endif -%}