Shopify themes, liquid, logos, and UX
https://environmentalpartners.com.au/products/natural-cleaning-set This is what my product looks like when I open it. I want to influence the background color where I've marked X.
Regards.
Solved! Go to the solution
This is an accepted solution.
Try to paste this code.
.product-media-modal__content{
background: red;
}
.product-media-modal__dialog.color-scheme-1.gradient {
background: red;
}
Make sure both of the classe must have the same color.
Paste this code in the end of base.css file.
Here is how you can find base.css file.
Go to Shopify Admin > Online Store > Edit Code > base.css
.product-media-modal__content.color-scheme-1.gradient {
background: green;
}
I apply the green color. You can apply any color that you want.
Results:
Hi, yea I managed that but mobile it only surrounds tiny bit around the image not the space above and below it. Weirdly.
This is an accepted solution.
Try to paste this code.
.product-media-modal__content{
background: red;
}
.product-media-modal__dialog.color-scheme-1.gradient {
background: red;
}
Make sure both of the classe must have the same color.
It worked. Cheers! Thank you! appreciate your prompt reply!
You are most welcome 😃.
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025