How can I eliminate black borders around my website products?

Hello I was wondering if anyone knew how to remove the black borders which appear around my products and collection pills on my website projectmainline.com for all spaces including landing page, collections pages and etc.

Thank you for your help!

Hi @YavuzPM ,

Try this one.

  1. From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
  2. Find the theme that you want to edit and click on “Actions” and then “Edit code”.
  3. 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:
  4. And Save.
body.gradient * {
    border: none;
}

Result:

I hope it help.

HI @YavuzPM

This is Henry from PageFly - Landing Page Builder App

You can try this code by following these steps:

Step 1: Go to Online Store->Theme->Edit code.

Step 2: Search file base.css

Step 3: Paste the below code at bottom of the file → Save

card–media {

border: none !important;

}

Hope that my solution works for you.

Best regards,

Henry | PageFly

Hello sorry for the late reply, this did not end up working, do you have another way it could be done?

Hello this did not work, do you possibly have another solution?

Please try again with this code:

.card.card–card.card–media.color-background-1.gradient {

  1. border: none !important;

}