I am using Shopify for my online store. I have a header and a footer in all my pages of my website. I want to remove the header and footer in a single page called newadd.
I create an alternative layout, and write code which exclude header and footer. At top of the newadd page I add the code {% layout 'alternative' %} But it still output header and footer. No effect of alternative layout.
Any Ideas?
You can't add the
{% layout 'alternative' %}
inside the Shopify page code. You should add the{% layout 'alternative' %
} within the template that page is using. Otherwise you can try with with{% layout none %}
and then call the snippets/templates you like.