Join

Add Rounded Corners to Images That Don’t Use an Elementor-Based Image Widget

Don't want to mess with code snippets? Request for this to be a feature of MyListing Pro.

Instructions

  1. Create a new CSS code snippet.
  2. Copy the contents of code snippet below.
  3. Paste the contents into your code snippet.
  4. Review any notes that I’ve provided.
  5. Save and enable the code snippet.
  6. Test.

Snippet

Unless you add an image to your Elementor website using a widget that allows for adjusting the border radius of said image, you’ll need to apply the rounded corners using CSS.

Making things a bit trickier yet, images with captions will automatically have a white border added to them and be assigned a unique class in WordPress (‘.wp-caption’).

This will be a code snippet that evolves as client requests come in, so let’s start with styling those images with captions.

Images With Captions

.wp-caption {
    border-radius: 12px;
}