How can I remove a black line from product images?

Topic summary

A user encountered a persistent black line (class “media__line”) appearing over all product images on their store. The line was located within the “product-images-container” element but couldn’t be directly accessed for removal.

Solution provided:

  • Navigate to Online Store → Theme → Edit code
  • Locate the general.css file
  • Add the following CSS at the bottom:
    .media__line {
      display: none !important;
    }
    
  • Save the file

The solution successfully resolved the issue. The discussion is closed/resolved.

Summarized with AI on November 15. AI used: claude-sonnet-4-5-20250929.

Hello community. I’ve been having an issue finding out how to remove a black line called “media__line” present over every single product image. I’ve also noticed you can’t access “product-images-container” which seems to be where the line is located.

If someone could let me know how to remove this line it would be greatly appreciated

For an example, the black line is above the product name on this website:

https://imagostructures.com/collections/kamook/products/kamook-16-pieds

Hi @ImagoStructures

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 general.css

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

.media__line {

display: none !important;

}

Hope that my solution works for you.

Best regards,

Henry | PageFly

1 Like

Worked like magic, thank you!

1 Like

You are welcome @ImagoStructures