Change background color of all my products on product page

Topic summary

A user seeks help changing the product page background color from white to grey to match their collection page, as their products have transparent backgrounds.

Proposed Solutions:

Two community members offered CSS-based fixes:

  • Option 1: Add code to theme.css targeting .mp-slider--own-slides-wrapper with background color #7e7e7e
  • Option 2: Add code to base.css or theme.css targeting .product-card with background color #2f2f2f

Both solutions follow the same implementation path:

  1. Navigate to Online Store > Themes > Actions > Edit Code
  2. Locate the Assets folder and appropriate CSS file
  3. Paste the provided code at the bottom
  4. Save and preview changes

Current Status:
One responder reports the background already appears grey on their end (Chrome and Safari), suggesting the issue may have been resolved or is browser-specific. The discussion remains open pending confirmation from the original poster.

Summarized with AI on November 18. AI used: claude-sonnet-4-5-20250929.

Hi guys I’m wanting to change background color of all my products on product page because my products have a transparent background, I have changed it to grey on collection page but when I click on the product it’s back to white again. Could someone help me with this please ? Thank you very much. Here’s the link to my website: https://luxicy.com/collections/pendants

1 Like

Hello @luxicy999

Its Artzen Technologies! We will be happy to help you today.

  1. In your Shopify Admin go to online store > themes > actions > edit code
  2. Find Asset > theme.css and paste this at the bottom of the file:
.pmslider-own--slides-wrapper {
    background: #e7e7e7;
}

Let me know if need further assistance
Regards,
Artzen Technologies

Hello @luxicy999 ,

You can try to follow these steps:

Go to Online Store → Themes → Actions → Edit code

Go to Assets folder → base.css file or theme.css file

Add this following code at the bottom of page

.product-card {
  background-color: #f2f2f2;
}

Save and preview

Hope this can help.

Transcy

Hi @luxicy999

I have checked and saw it is grey on my side. I checked both on Chrome and Safari.