Shopify themes, liquid, logos, and UX
How do I change the product background from transparent to grey like the image below?
Website: https://raidednz.com/
(Image from another store)
Hi @raidednz,
In Shopify, you can change the product image background by going to the image settings in your admin panel. There is an option to edit or replace the background color directly from there.
Hi @raidednz
1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file
3. In theme.liquid, paste the below code before </head>
<style>
product-card.grid-view-item.text-align--center {
background-color: #eae8e8 !important;
padding: 10px !important;
border-radius: 8px !important;
}
</style>
If my reply is helpful, kindly click like and mark it as an accepted solution.
Thanks!
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn 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, 2025