How can I remove the black outline from my image and text banner?

Topic summary

A user needed help removing a black outline appearing around an image in Shopify’s “image and text banner” section.

Solution provided:

  • Navigate to Shopify admin → Online Store → Themes → Actions → Edit code
  • Open the CSS file (base.css, style.css, or theme.css) in the Assets folder
  • Add the following CSS code at the bottom:
.image-with-text__media--adapt.global-media-settings.gradient.color-inverse.media.animate--zoom-in {
  border: none !important;
}

Outcome:
The solution successfully removed the black outline. The issue was resolved through a simple CSS override targeting the specific banner element class.

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

Hello everyone!

Need a little help with a very simple issue. I would like to remove the black outline from the picture in the “image and text banner”. Could somebody please help me out?(Picture attached)

Link to the website: goldenlifters.com

Picture:

Sincerely,
Farid

1 Like

Hi @goldenlifters

Check this one.

  • From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
  • Find the theme that you want to edit and click on “Actions” and then “Edit code”.
  • 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:
.image-with-text__media.image-with-text__media--adapt.global-media-settings.gradient.color-inverse.media.animate--zoom-in {
    border: none !important;
}

Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!

1 Like

Yes, this has worked perfectly!

Thank you very much!

1 Like