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?