Shopify themes, liquid, logos, and UX
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
Hello!
I am using the Dawn theme and want to use a different header for a specific page template, Suppose whenever a page is created using a particular template of the page a completely different header is shown.
I tried to use this method but its not working for me
I have created a duplicate "header.liquid" file and used this code
{% if template.name == 'index' %}
{% section 'header' %}
{% else %}
{% section 'header2' %}
{% endif %}
Can somebody Help?
Hi @USAMARANA326 ,
You need go to customize to to setup it as well. If it still doesn't work. We need access your store to check it.