Black lines appear around product images - How do I remove them?

Solved

Black lines appear around product images - How do I remove them?

RetroGP
Tourist
9 0 6

I've seen a couple of answers to this previously but the remedies do not work for me. Any assistance would be appreciated.

BlackLines.jpg

Accepted Solutions (2)
BSSCommerce-HDL
Shopify Partner
2305 835 910

This is an accepted solution.

Hi @RetroGP

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

Step 2: Search file theme.liquid

Step 3: Insert this code above </head> tag:

<style>
.products-grid .grid-item-border .product-image {
   padding: 12px !important;
}

.product-image.owl-carousel.owl-theme {
    border: none !important;
}
</style>

Here is result:

BSSCommerceHDL_0-1724245807302.png

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 😍

Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

View solution in original post

BSSCommerce-HDL
Shopify Partner
2305 835 910

This is an accepted solution.

Hi @RetroGP, Pls replace old code to new code: 

<style>
.products-grid .grid-item-border .product-image {
   padding: 12px !important;
}
</style>

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 😍

Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

View solution in original post

Replies 17 (17)

steve_michael2
Navigator
445 38 61

Hi @RetroGP , I hope you are doing well.


Can you share your Store URL so I can have a look on it? Also, if you have password enabled then please share the password. Thanks!

RetroGP
Tourist
9 0 6

https://www.retrogp.com/collections/birth-marque-champions-of-f1

 

Thanks for the kind offer to assist but I'm not sharing the password. I'm sire you understand.

steve_michael2
Navigator
445 38 61

@RetroGP , I understand. Please try the below code:

<style>
.products-grid .grid-item-border .product-image {
padding: 12px !important;
}

.product-image.owl-carousel.owl-theme {
border: none !important;
}
</style>

 

If my reply is helpful, kindly click like and mark it as an accepted solution.

Thanks!

BSSCommerce-HDL
Shopify Partner
2305 835 910

Hi @RetroGP
Can you kindly share your store link with us? We will check it and suggest you a solution if possible.

Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

BSSCommerce-HDL
Shopify Partner
2305 835 910

This is an accepted solution.

Hi @RetroGP

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

Step 2: Search file theme.liquid

Step 3: Insert this code above </head> tag:

<style>
.products-grid .grid-item-border .product-image {
   padding: 12px !important;
}

.product-image.owl-carousel.owl-theme {
    border: none !important;
}
</style>

Here is result:

BSSCommerceHDL_0-1724245807302.png

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 😍

Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

RetroGP
Tourist
9 0 6

Wow...it worked. Gosh that problem has been worrying me for a couple of years. Fantastic. I can't thank you enough.

Best regards

Andrew

BSSCommerce-HDL
Shopify Partner
2305 835 910

Hi @RetroGP
We're happy to see that our suggestion helped you solve the issue. Can you kindly give us a like ? Should you need any further information, please do not hesitate to contact us by tagging directly at Community post.

We will check and let you know soon. Thanks in advance 😍

Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

RetroGP
Tourist
9 0 6

Not so fast lol. Actually what that's done is remove the thin line from around each product. It looks clean and those rogue black lines have disappeared but as you can see from the Hesketh Racing page, one product outline remains around the phone case (third row down). Is it possible to get those thin outlines around the product listing without the rogue black lines coming back?

https://www.retrogp.com/collections/hesketh-racing-1

BSSCommerce-HDL
Shopify Partner
2305 835 910

@RetroGP,  Do you mean it like that?

BSSCommerceHDL_0-1724250025945.png

 

Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

RetroGP
Tourist
9 0 6

Yes...exactly like that. Possible?

BSSCommerce-HDL
Shopify Partner
2305 835 910

This is an accepted solution.

Hi @RetroGP, Pls replace old code to new code: 

<style>
.products-grid .grid-item-border .product-image {
   padding: 12px !important;
}
</style>

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 😍

Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

RetroGP
Tourist
9 0 6

That's the one. Brilliant. Many, Many thanks.

BSSCommerce-HDL
Shopify Partner
2305 835 910

@RetroGP, No problem. Have a good day 😍

Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

niraj_patel
Shopify Partner
2391 516 516

Hello @RetroGP 
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.

Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- info@techlyser.com
niraj_patel
Shopify Partner
2391 516 516

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>
   .products-grid .grid-item-border .product-image{
       border: unset !important;
       padding: 11px !important;
    }
</style>

niraj_patel_0-1724246306105.png

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

Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- info@techlyser.com