Shopify themes, liquid, logos, and UX
Hi everyone. I hope everyone doing well.
My website shows a grey background for products with a transparent (PNG) background. Is it possible to change it to white? If so, could you provide the necessary code?
Any help would be greatly appreciated.
Here is one of the transparent product image URL: https://ladyhyphae.com/collections/therapeutic/products/pink-buffalo
Solved! Go to the solution
This is an accepted solution.
@Digital_Imran , Please change the previous code like this
<style>
use-animate .product__media,
use-animate .image-animate {
background: white !important;
}
</style>
B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.
B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.
BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now I Donate Us Here!
Step 1. Go to Admin -> Online store -> Theme > Edit code
Step 2. Find the file theme.liquid.
Step 3. Add this code above </body>
<style>
use-animate .product__media {
background: white !important;
}
</style>
Result:
If it helps you, please like and mark it as the solution.
Best Regards 😍
B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.
B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.
BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now I Donate Us Here!
Thanak you @BSSCommerce-B2B it works . Can you also provide codes for the collection page? I attached the screenshot.
Here is the URL of the collection page: https://ladyhyphae.com/collections/therapeutic
Screenshot: https://prnt.sc/Q-b6hHmxiYur
This is an accepted solution.
@Digital_Imran , Please change the previous code like this
<style>
use-animate .product__media,
use-animate .image-animate {
background: white !important;
}
</style>
B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.
B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.
BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now I Donate Us Here!
Thank you so much @BSSCommerce-B2B . It works 😄
Hello @Digital_Imran
You can add code by following these steps
1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file
3. Paste the below code before </body> on theme.liquid
<style>
.product__media.image-animate.media.media--square.media-mobile--square {
background: #fff !important;
}
</style>
Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.
Thank you so much @niraj_patel sir 🙂
By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024