Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hi everybody!
When I create a "Rich text with Image" section I get this little gray outline and I would like to ask if anybody knows how I can remove it?
Thank you very much in advance and if you have any questions please do not hesitate.
Solved! Go to the solution
This is an accepted solution.
To remove the gray outline on product media, you can simply follow the below steps.
Go to Shopify Admin Dashboard and click on Online Store.
Click on Customize button.
Click on the theme setting icon in the left-hand sidebar > Then click on Media.
Make border thickness 0px.
Refer to the below screenshot for more information.
Hope it helps. Let us know if you need more help with this.
Regards,
CedCommerce
Hello There,
Please share your store URL and password.
So that I will check and let you know the exact solution here.
Hello There,
1. In your Shopify Admin go to online store > themes > actions > edit code
2. Find Asset > base.css and paste this at the bottom of the file:
.image-with-text__media.image-with-text__media--adapt.gradient.color-background-1.global-media-settings.media {
border: none;
}
This is an accepted solution.
To remove the gray outline on product media, you can simply follow the below steps.
Go to Shopify Admin Dashboard and click on Online Store.
Click on Customize button.
Click on the theme setting icon in the left-hand sidebar > Then click on Media.
Make border thickness 0px.
Refer to the below screenshot for more information.
Hope it helps. Let us know if you need more help with this.
Regards,
CedCommerce
Discover how to increase customer engagement on your store with articles from Shopify A...
By Jacqui Apr 23, 2025Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025