Aligning images/figures with Image Align-Center/Right/Left

Body

Applying a left/right/center class to either a pure image (no figcaption) OR an image with a figcaption. The steps are the same for both cases.

  • Click on the image inside the WYSIWYG 

Uploaded image

  • Go to Format -> Formats -> Custom -> Select "Image Align Right"
    • You have "Image Align Left" and "Image Align Center" as alternatives. 

Uploaded image

  • Faster alternative: click on the image icon in the WYSIWYG that says "Insert/edit image".

Uploaded image

Uploaded image

 

  • Under "Styling", there is "Custom Formats" where you can select the class "Image Align Right"
  • Success. It works as expected inside the WYSIWYG and the CMS page
  • Disclaimer:  After all these steps, if it has a figcaption, in the WYSIWYG, the figcaption will not be under the image, but once you click "submit content", you will see it working on the CMS page. If you go back into the WYSIWYG, it will look broken.

 

Uploaded image

 

 

 

Other Examples:

#1: No figcaption:

Uploaded Image (Thumbnail)

Click on the image in the WYSIWYG:

Uploaded Image (Thumbnail)

Apply your format (in this case, “Image Align Right”). You have "Image Align Left" and "Image Align Center" as alternatives.

Uploaded Image (Thumbnail)

Job done:

Uploaded Image (Thumbnail)

 

#2: Images inside a <figure> element:

Click on the image again to select it.

Uploaded Image (Thumbnail)

Apply your class like before. You have "Image Align Right", "Image Align Left", and "Image Align Center" as alternatives.

Uploaded Image (Thumbnail)

After, it looks like just the image has been affected:

Uploaded Image (Thumbnail)

Submit the changes:

Uploaded Image (Thumbnail)

You can see that Ronalyn Wilson’s figure/figcaption now works, due to JS code that handles it. Unfortunately, the WISIWYG doesn’t reflect this change. It will look broken, but in fact it does work.

Uploaded Image (Thumbnail)

 

Details

Details

Article ID: 161031
Created
Mon 3/23/26 3:34 PM
Modified
Wed 10/28/26 3:23 PM