How to style an image that has been added in a rich text field through the CMS

Hi, I wondered if it is possible to style an image that has been added in a rich text field through the CMS? I’d like to simply add a border and rounded corners but can’t seem to find a way to do this.

Thanks


Here is my public share link: LINK
(how to access public share link)

Hi @sparky

The only way I’m aware of being able to do this is styling the global class for ‘image’. Not sure if you’re familiar with how to change global classes, but here’s a quick preview

Only downside to this will likely change all images across your site. If you don’t want your global styling on all images, you will need to assign a class to other images and then override anything you have set on the global ‘image’ class.

Let me know how you get on?

Thanks

1 Like

Thanks a lot! It help me a lot.