How can I alter the background color of my collection list?

Solved

How can I alter the background color of my collection list?

sharaiz
Excursionist
21 0 5

Hello I would like to change the background colour of the collection list categories in the refresh theme to white. 

collection list.png

 

Accepted Solutions (2)
Ujjaval
Shopify Partner
1242 197 211

This is an accepted solution.

@sharaiz Try below one 

@media (min-width:750px)
{
.section-template--19099649999144__product-grid-padding {
    padding-top: 0px;
    padding-bottom: 60px;
    background-color: white !important;
}
}

 

Ujjaval_0-1685966117465.png

 

View solution in original post

Made4uo-Ribe
Shopify Partner
7808 1888 2316

This is an accepted solution.

Try this one. 

section#shopify-section-template--19099650523432__main {
    background: white;
}

Result:

Ribe_Dagandara_0-1685988743886.png

I hope it help.

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.

View solution in original post

Replies 14 (14)

Ujjaval
Shopify Partner
1242 197 211

@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;
}
}
sharaiz
Excursionist
21 0 5

still not working

Ujjaval
Shopify Partner
1242 197 211

@sharaiz CAN you share your store url?

sharaiz
Excursionist
21 0 5
Ujjaval
Shopify Partner
1242 197 211

This is an accepted solution.

@sharaiz Try below one 

@media (min-width:750px)
{
.section-template--19099649999144__product-grid-padding {
    padding-top: 0px;
    padding-bottom: 60px;
    background-color: white !important;
}
}

 

Ujjaval_0-1685966117465.png

 

sharaiz
Excursionist
21 0 5

Thank you it worked!

sharaiz
Excursionist
21 0 5

It worked on collection page but facing same problem for product page now !!

sharaiz
Excursionist
21 0 5

Although code is added but the color is changed back to grey. can you check and let me know the solution

www.sonashi.pk

Made4uo-Ribe
Shopify Partner
7808 1888 2316

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.

  1. From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  2. Find the theme that you want to edit and click on "Actions" and then "Edit code".
  3. 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:
  4. And Save.

 

div#shopify-section-template--19099649999144__product-grid {
    background: white;
}

 

  • Result:
  • Ribe_Dagandara_0-1685967276069.png

     

  • I hope it help. 
If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.
sharaiz
Excursionist
21 0 5

How can i change background colour to white in product page. 

Made4uo-Ribe
Shopify Partner
7808 1888 2316

This is an accepted solution.

Try this one. 

section#shopify-section-template--19099650523432__main {
    background: white;
}

Result:

Ribe_Dagandara_0-1685988743886.png

I hope it help.

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.
sharaiz
Excursionist
21 0 5

Where shall i add this code? Mean in which section ? 

Made4uo-Ribe
Shopify Partner
7808 1888 2316

Hi, you can paste it on the section-main-products.css file. 

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.

dmwwebartisan
Shopify Partner
12321 2552 3727

@sharaiz 

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!

If helpful then please Like and Accept Solution | Email: dmw.webartisan@gmail.com |  Instagram: @dmw.webartisan
Check here PageFly App to customize your pages | #1 Product Filter & Search app on Shopify | The most powerful Shopify page builder app