How Can I Change the Header Background color in my Products Page only Prestige Theme

1 0 0

Guys, I need to change the header color only on my product page and not on the main page... however, in the default configuration, I can't find any option to change just the color of the product page header. Can someone help me?

Reply 1 (1)

Shopify Partner
75 14 10
{% if template == 'product' %}
  header {
    background: pink !important;
{% endif %}

you can place this code on theme.liquid at bottom you can replace header with any other class name that is on your theme if it does not work .

- Helpful? Like or Accept solution, - Buy me Coffee


Contact me