All things Shopify and commerce
Hello! I'm trying to change the header color on certain pages, as I want my product collections to look professional. Is there anyone who knows how to do it? Thank you!!!
Hi @JIZO
You can do this using the if condition. You can mark the condition in header file and can make changes as you want.
You can add the css as wll.
{% if template == 'product' or template == 'collection' %}
Add code which you want
{% else %}
Other pages code
{% endif %}
If you don't know how to make changes please contact with a shopify developer.
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025