Access a community of over 900,000 Shopify Merchants and Partners and engage in meaningful conversations with your peers.
Hi Shopify Community,
Does anyone know how to change the background color of the Product Page ONLY? I wan the background to be white for this page only.
URL: www.newdaysports.com
Pw: CoschStudio
Thanks in advance!
Solved! Go to the solution
This is an accepted solution.
Thanks for post.
1. Go to Online Store->Theme->Edit code
2. Asset->/theme.scss.liquid->paste below code at the bottom of the file.
.template-product {
background: #fff;
}
This is an accepted solution.
Thanks for post.
1. Go to Online Store->Theme->Edit code
2. Asset->/theme.scss.liquid->paste below code at the bottom of the file.
.template-product {
background: #fff;
}
You can change the background color of only product page using following code. You can add the code at the bottom of your assets/theme.scss.liquid file.
body.prestige--v4.template-product {
background-color: #000;
}
I put it black ( #000) for now. You can change as per your need but one thing to remember you have to change font color of links as well.
Thanks!
hello,
could you help please, if I was to change the background colour to a specific collection only instead of the whole product page?
cheers,
jeje
Please share store URL & screenshot what do you want.
Thanks!
User | RANK |
---|---|
206 | |
108 | |
86 | |
56 | |
45 |