CHANGE HEADER COLOR ON CERTAIN PAGES (DAWN THEME)

JIZO
New Member
6 0 0

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!!!

Reply 1 (1)

laddisahsi
Shopify Partner
353 36 37

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.


-Shopify website development, Theme & App Development
-Contact me: WhatsApp


-Email Me
-If this solution is worked, then please Like this and Mark this as accepted solution!