Please follow the below steps to make two different headers show on different pages and let me know whether it is helpful for you.
- From admin, go to “Online Store” → “Themes”.
- Click action button from the current theme and select “Edit code”.
- Locate the theme.liquid and the Replace your code with below one like in the attached screenshot.
{% if template.name == 'index' %}
{% section 'header' %}
{% else %}
{% section 'header2' %}
{% endif %}
- Save the changes and check frontend for two different headers on different pages.
Please provide your support by click “Like” and “Accepted” if our solution works for you. Thanks for your support.
