Caption Centering
-
I’ve having trouble centering the captions underneath images. I’m able to center the images, but not the captions, so all the captions are left-aligned. Before the block system was initiated, I was able to make captions centered, but I can’t seem to figure out how to center them now.
-
Hi there – could you give us the URL to the post or page you are needing help with centering the image captions on? We can start there and see what we can do to help. :)
-
Absolutely! Here is the link to the blog: https://powerrangersinorder.home.blog/
The most recent few posts are the ones I’m unable to center the image captions on – all of the older ones still have their captions centered.
-
Hm, ok, I can see the misaligned ones were made using the new block editor.
At the moment, captions there don’t have an alignment option, but it is being worked on.
-
Good to know! I’ll keep an eye out for when they’re allowed and go back in and fix them afterward. Thanks so much!
-
I have also been having these problems for over a month now, ever since having to switch to the new Block Editor. I use the Cubic theme, and the bug still has not been fixed. Captions are always left-aligned, and appear the same as the body text (whereas they used to be smaller and a paler colour, plus of course centre-aligned). This is so frustrating and really off-putting. I much preferred the old editor, and have tried switching back to the Classic Editor, working as a WP Admin etc. but it is still not the same as it used to be, and still causes issues. I have tried to adapt to the new Block Editor, and have largely got the hang of it (for my simple needs, at least), but this ongoing captions bug is extremely annoying.
My site is currently set to Private as I am still working on it, so not sure if it will be visible, but an example of the problem I am having can be seen here:
https://homeintheworld.org/2020/03/08/beyond-baku-aztounding-azerbaijan/Would be great if someone could help (I have already had a few email exchanges with support staff but not no avail) or the Cubic developers could finally fix this captions bug!
-
To @emilita2301
Despite your blog is in protected mode, i see it is basen on wp.com. You can try adding below custom css into My sites->Customise->Additional CSS :
/* align caption on center-aligned images KG-15020525-hc */ .wp-block-image .aligncenter> figcaption { text-align: center; } /* KG-15020525-hc */
It worked fine for me. If it doesn’t for You, You can delete this line at the same place. By the way, it works for all posts and pages of Your site.
-
- The topic ‘Caption Centering’ is closed to new replies.