Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hi there,
I am having trouble getting rid of the shadows behind the product cards and also the product cards. These were the solutions I tried already:
SOLUTION 1:
Please add this css in your bottom of the base.css file:
.global-media-settings:after {box-shadow: none !important;}
SOLUTION 2:
1. Go to Online Store->Theme->Edit code
2. Asset->/base.css ->paste below code at the bottom of the file.
.rte img {box-shadow: none !important;}
SOLUTION 3:
Themes => edit code => asset => base.css
and add this code to bottom of the file base.css
.product-media-container:after { display: none!important; }
SOLUTION 4:
To add, you can go to the Theme editor and find the "Custom CSS" section where you can paste this code.
.image-with-text__media.image-with-text__media--adapt.gradient.color-scheme-7e825b4f-4b82-48de-b107-f28acefbabff { box-shadow: none; }
Thanks for your help!
Hello @proudhooman
would you like to share your store URL and password if any please.
so i can check and provide you possible solution for your question.
@proudhooman Please follow below steps to remove shadows around product cards. Let me know whether it is helpful for you.
.card--card:after {
box-shadow: none !important;
}
Hello @proudhooman
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>
.card.card--card.card--media::after, .global-media-settings:afte {
box-shadow: none !important;
}
</style>
my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.
Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025