Shopify themes, liquid, logos, and UX
Hello everyone, Ive done multiple searches and applied the codes marked as "accepted solutions" with zero results. I've also asked a similar question on forum without any help either. So I'm hoping someone can finally provide some assistance! I have PNG images with transparent backgrounds. On the individual Product pages the images show up just as they should. However on my Home page under the 'Featured Products' the products are being displayed with a black BG. It's also doing this under the 'You May Also Like' section. My website is https://www.isaactaylor.productions/ thanks!
Solved! Go to the solution
This is an accepted solution.
Hi @AboveTheSun
Check this one.
From your Shopify admin dashboard, click on "Online Store" and then "Themes".
Find the theme that you want to edit and click on "Actions" and then "Edit code".
In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
.card--card.gradient, .card__inner.gradient {
background: white !important;
}
And Save.
Result:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Hey @AboveTheSun
Please Follow these steps,
Step 1: Go to admin pannel
Step 2: There are two options CUstomize and three dots(.) , click on three dots and goto edit code
Step 3: Find component-card.ss file
Step 4 : paste the code at the last of file
.product-card-wrapper .card__inner {
background: transparent !important;
}
This is an accepted solution.
Hi @AboveTheSun
Check this one.
From your Shopify admin dashboard, click on "Online Store" and then "Themes".
Find the theme that you want to edit and click on "Actions" and then "Edit code".
In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
.card--card.gradient, .card__inner.gradient {
background: white !important;
}
And Save.
Result:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Thanks a lot my friend! Worked great 🙂
Welcome, good to hear that it help. Please, hit likes also it would be a big help for me. Thanks!
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