I am using Impulse themes and unfortunately they all have a uniform background color, I would like different templates to have custom background colors, is this possible? I hope you can give me some answers, thanks!
Hi @ohohet ,
Are you talking about the product page background? Can you provide your website so we can give an specific code for you
Can you tell me the email? I will send it to you
2 Likes
Sorry you are facing this issue, it would be my pleasure to help you.
Welcome to the Shopify community! ![]()
Thanks for your good question.
Please share your site URL,
I will check out the issue and provide you a solution here.
Hi @ohohet ,
You can send me a private message here
Hi @ohohet ,
I am assuming you want to change the background color of the product page? Please follow the instructions below.
- From your Admin store, go to Online store > Themes > Click Actions > Edit code
- Open the Layout folder, and find the theme.liquid file.
- Find the , and paste the code below after it
{% if template == "product" %}
[% endif %}
![]()
Wrong code
1 Like
Hi,
This should be like this. @made4Uo has a typing mistake only.
{% if template == "product" %}
{% endif %}
Thanks
Hit Like and Accept as Solution.
can you try this code
- Go to Online Store->Theme->Edit code
- Asset->/theme.css ->paste below code at the bottom of the file.
.template-product {
background: #ebebeb; /* change color as you like */
}

