Where can I find and remove the small grey border on all images in my rich text block in Webflow?

Published on
September 22, 2023

To find and remove the small grey border on all images in a rich text block in Webflow, you can follow these steps:

  1. Open your Webflow project in the Designer.
  2. Select the rich text block that contains the images you want to edit.
  3. Go to the Styles panel on the right-hand side of the Designer.
  4. In the Selector field at the top of the Styles panel, make sure the rich text block is selected.
  5. Scroll down to the "Text" section of the Styles panel.
  6. Locate the "Image" element within the "Text" section.
  7. If there is a grey border surrounding the image, it is likely due to the default styling applied by the Webflow Rich Text Editor.
  8. To remove the border, you can add a custom CSS class to the images in the rich text block and target that class in your project's custom code.
  9. To add a custom class to the images, click on the image within the rich text block and go to the Settings panel on the right-hand side.
  10. In the class name field, enter a custom class name such as "no-border" (without the quotes).
  11. Click outside of the Settings panel to save the class.
  12. Now, go to the Custom Code section of the project settings by clicking on the gear icon in the top-right corner of the Designer, then selecting "Custom code" from the dropdown menu.
  13. In the "Head Code" section, add the following CSS code:
.no-border {  border: none;}
  1. Save the changes to the custom code and go back to the Designer.
  2. Now, with the rich text block selected, go to the Styles panel and scroll down to the "Text" section.
  3. Within the "Text" section, locate the "Image" element again.
  4. Add the custom class name "no-border" to the "Class" field of the Image element.
  5. The grey border should now be removed from all images within the rich text block.

In summary, to find and remove the small grey border on all images in a rich text block in Webflow, you need to add a custom class to the images and target that class in your project's custom code to set the border property to none. This will effectively remove the grey border from the images.

Additional Questions:

  1. How do I customize the styling of images in Webflow?
  2. Can I remove the default padding around images in a rich text block in Webflow?
  3. How do I make images responsive in Webflow?