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.
User | RANK |
---|---|
50 | |
45 | |
39 | |
28 | |
21 |
On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...
By Arno Nov 27, 2023You've downloaded the Search & Discovery app from the Shopify App store, and as you're ...
By Skye Nov 8, 2023The year-end shopping season is just around the corner. Is a flash sale on your radar? Are...
By Jasonh Nov 6, 2023