Hello I would like to change the background colour of the collection list categories in the refresh theme to white.
@sharaiz add below css into base.css file
@media (min-width:750px)
{
.section-template--15619004596276__product-grid-padding {
padding-top: 0px;
padding-bottom: 60px;
background-color: white !important;
}
}
still not working
@sharaiz CAN you share your store url?
@sharaiz Try below one
@media (min-width:750px)
{
.section-template--19099649999144__product-grid-padding {
padding-top: 0px;
padding-bottom: 60px;
background-color: white !important;
}
}
Hi @sharaiz ,
I understand that you want to change the background colour of the collection list categories in the refresh theme to white. Try this.
- From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
- Find the theme that you want to edit and click on “Actions” and then “Edit code”.
- In the “Assets” folder, click on “theme.scss.liquid, styles.scss.liquid or base.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
- And Save.
div#shopify-section-template--19099649999144__product-grid {
background: white;
}
-
Result:
-
I hope it help.
Please add the following CSS code to your assets/base.css bottom of the file.
@media (min-width:750px){
.section-template--19099649999144__product-grid-padding {
padding-top: 0px;
padding-bottom: 60px;
background-color: white !important;
}
}
Thanks!
Thank you it worked!
It worked on collection page but facing same problem for product page now !!
How can i change background colour to white in product page.
Try this one.
section#shopify-section-template--19099650523432__main {
background: white;
}
Result:
I hope it help.
Where shall i add this code? Mean in which section ?
Hi, you can paste it on the section-main-products.css file.
Although code is added but the color is changed back to grey. can you check and let me know the solution