Once upon a time, getting captions to centre underneath photos and images on blog posts involved adding complicated CSS code to your blog.
I don’t know about you, but it doesn’t look right to me whenever I see uncentred captions. It gives blog posts a messy look.
However, WordPress now makes it much easier to centre captions under blog posts, images and photos.
Here’s my simple guide to centring captions.
- Add an image or photo to a blog post.
- Click on the image to open the image toolbar.
You’ll see that the caption is aligned to the left under the above photo. Arghhhhh!
- On the toolbar, click on the ‘Align‘ button and on the dropdown menu that appears, click on ‘Align Centre.’
- The image or photo will now be centred on your blog post, as will the caption.
How easy was that? No more ‘Arghhhhhs.’
The example I have given above works on the Block editor.
Layout, content, settings and format might differ on self-hosted blogs.
Of course, if you prefer captions on your blog posts to be aligned to the left or right, you can ignore everything I’ve said in this post.
If you have any questions about centring captions, leave them in the comments section.
Looking for more blogging tips? Click on the ‘Blogging Tips’ and ‘Block Editor – How To’ buttons on the menubar of my blog.
Follow Hugh on social media. Click on the buttons below.
Copyright © 2022 hughsviewsandnews.com – All rights reserved.