Shadows under product cards and product images in Sense theme

Shadows under product cards and product images in Sense theme

proudhooman
Visitor
1 0 0

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;
}
 
 
Here is the photo of the shadows for reference:
Screenshot 2024-10-18 at 7.14.23 PM.png

 

Thanks for your help!

Replies 3 (3)

Tech_Coding
Shopify Partner
514 132 131

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.

my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.
Shopify UI Developer
Your Coffee Tips adds a little sweetness to my day.

Vinsinfo
Shopify Partner
491 167 171

@proudhooman Please follow below steps to remove shadows around product cards. Let me know whether it is helpful for you.

 
1. From admin go to "Online Store" -> "Themes".
2. Click "Edit code" button from the current theme.
3. Go to "component-card.css" file.
4. Then paste the below code at the bottom of the file and save changes.

 

.card--card:after {
  box-shadow: none !important;
}

 

 
Result will be like,
Vinsinfo_0-1729315031637.png

 

Please provide your support by click "Like" and "Accepted" if our solution works for you. Thanks for your support.
Please reach out to bizdev@vinsinfo.com for any enquires related to Shopify.
Our Services: Custom Theme Development, Theme Customization, Custom Feature Implementation, Data Migration, Custom APP Development, Website Optimization and Google Merchant Center Support

Tech_Coding
Shopify Partner
514 132 131

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>

Tech_Coding_0-1729322741883.png

Tech_Coding_1-1729322830828.png

my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.

my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.
Shopify UI Developer
Your Coffee Tips adds a little sweetness to my day.