Hi everyone.
I am using the spotlight theme. I want to add some color to the images. My product images have transparent backgrounds. So I would love to make the background a light grey color. Is there anyway this can be done?
My website is www.PPFMerch.com and the password is abc123.
Thank you!
1 Like
Hi @JSPENCER0203 ,
Step 1: Go to Shopify Admin → Online Store ->Theme → Edit code
Step 2: Search file theme.liquid
Step 3: Insert this code above tag:
Here is result:
Hope this can help you,
If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you
Hi @JSPENCER0203
You can do that by adding this code to Custom CSS of your theme in Online Store > Themes > Customize > Theme settings
.product-media-container .media,
.card--standard .card__inner:after {
background: #f1f1f1;
}
namphan
September 16, 2024, 3:29am
4
Hi @JSPENCER0203 ,
Please go to Actions > Edit code > Assets > base.css file and paste this at the bottom of the file:
.collection-card-wrapper .media.media--transparent {
background: #808080b0;
}
Hi @JSPENCER0203 ,
Go to Online Store → Theme → Edit code.
Open your theme.liquid file
In theme.liquid, paste the below code before
If my reply is helpful, kindly click like and mark it as an accepted solution.
Thanks!