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

Solved

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

plants4friendz
Excursionist
39 1 10

Hello,

 

I'm trying to change the background color of this product collection section on my home screen.

 

Screenshot 2023-11-09 at 2.02.05 PM.png

 

I've done it in featured product section by adding css to the section:

div {
background-color: #ffffff;
max-width: 100%;
}

 

However, when I do so for the Product Collection, it covers the images with white.

 

Screenshot 2023-11-09 at 2.05.51 PM.png

 

Any recommendations are appreciated~ My site is: thespiralpath.myshopify.com

 

Thank you!

Accepted Solution (1)

Made4uo-Ribe
Shopify Partner
7609 1833 2245

This is an accepted solution.

Hi @plants4friendz 

Check this one. 

  • 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 "base.css, style.css or theme.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:

 

.collection.section-template--16845158318325__featured_collection-padding {
    background: #ffff !important;
}

 

  • And Save.
  • Result:
  • Made4uoRibe_0-1699556975446.png

     

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

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 2 (2)

Made4uo-Ribe
Shopify Partner
7609 1833 2245

This is an accepted solution.

Hi @plants4friendz 

Check this one. 

  • 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 "base.css, style.css or theme.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:

 

.collection.section-template--16845158318325__featured_collection-padding {
    background: #ffff !important;
}

 

  • And Save.
  • Result:
  • Made4uoRibe_0-1699556975446.png

     

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

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.
plants4friendz
Excursionist
39 1 10

Thank you so much!