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
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025