Centering Caption Text

  • Author
  • #155374


    How do you center the text of the caption for an image? I have the image set to appear on the left side of the page with the text of the post surrounding it and want the caption for the image to be centered under the image. It is centered when I edit the page, but when I preview it, the text is left justified with one word on each line.

    I tried the following code in the Additional CSS box:

    .wp-block-image figcaption {
    text-align: center;

    but it is still left justified when I preview the post.

    The blog I need help with is


    Theme Author

    Hello, I’d need a link to this page in order to view the left-aligned caption in your site. I’ve tested this on our end and all captions appear centered, as they should by default. Please provide a link to where I can see the issue on your site, thank you.


The topic ‘Centering Caption Text’ is closed to new replies.