Hello,
Could someone help where I can change the background of all my products with a code? In a custom theme
This is how it should look
This is now
The website is
https://monttega.com/collections/hoodies
A user seeks help changing product backgrounds across their custom Shopify theme using CSS code. They provide screenshots showing the desired appearance versus the current state.
Solutions Provided:
Multiple community members offered CSS-based approaches:
background-color: #3e2e2e; to .product-item__image-wrapper in theme.cssbackground: #2f2f5f; for .product-item__aspect-ratio at the bottom of theme.css</body> tag in theme.liquid fileImplementation Steps:
All solutions target product item containers with background color modifications. The discussion remains open regarding which approach the user ultimately implemented or found most effective.
Hello,
Could someone help where I can change the background of all my products with a code? In a custom theme
This is how it should look
This is now
The website is
https://monttega.com/collections/hoodies
@Storum - add to the very end of your theme.css file
.product-item__image-wrapper {background-color: #e3e2e2;}
yes, please try this code
.product-item__aspect-ratio {background: #f2f2f5;}
Hello @Storum
Itβs GemPages support team and glad to support you today.
I would like to give you a solution to support you.
Go to Online Store β Theme β Edit code.
Open your theme.liquid theme file.
Paste the below code before :
Hope my solution can work and support you!
Kind & Best regards!
GemPages Support Team.