Product page background color to be different than home page color

Hey,

Do you know a method to keep the home page and collections page background to a specific color ( for exemple keep it black ) and the product pages to be white?

I’ve tried to only edit the main background color to black, but the product pages automatically turn black as well, and I those one’s I want to keep them white…

Here is the preview of the theme : https://priomag.ro/?_ab=0&_fd=0&_sc=1

Hi @Denis28
It’s Artzen Technologies, we are happy to help you today.

Keep the same CSS which you added for background color and jsut add the CSS which I will mention.
To make only product pages of different background, try the below CSS.
Go to OnlineStore-> EditCode-> Assets-> Base.CSS (Or other CSS file)

.template-product {
    background: white;
}

The below Screenshot is the demo of this CSS.

Let me know if need further assistance
Regards,
Artzen Technologies

Thanks! It worked just perfect.

Do you know a method to make this button stay red? It stays white even tho I changed the colors for it . It’s the add to cart button.

@Denis28
First please accept previous solution, then only i can help you further

@Denis28

Here is your solution.

button.add-to-cart.sf__btn.w-full {
    background: red;
    color: white;
}

The screenshot is the preview of how it will look.

If helpful, please Like and Accept this Solution to help others

##-Can the background remain the same color?