Support » Theme: Newsphere » Image captions show as aligned left instead of centered

  • Whenever I post an article for my website I usually use an image with an image block that I align right to my paragraph block. My problem is, when I write a caption for the image (for giving courtesy) the final appearance is aligned left, as you can probably see on the page I linked.

    When editing the post, the caption text is very clearly centered under the image, but the preview and published versions show the caption text as aligned left.

    This is a problem for all of my articles/posts, not just this one, so I’m wondering if anyone has a solution to this.

    Thank you for your time.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author AF themes


    Hello @patrickpamanian,
    First off, thanks for reaching out to us, would you please paste following snippets to Customize>Additional CSS section and check if it would help you to centralize image caption?

    .wp-block-image .aligncenter>figcaption, .wp-block-image .alignleft>figcaption, .wp-block-image .alignright>figcaption,>figcaption {
        text-align: center;

    Best regards

    Hello, I have used this and it worked for setting captions on images correct.

    However, whilst it works for captions, now all my text in quote blocks is also centred, when it was previously left aligned and inset.

    You can see what I mean on this post:

    The paras in bold are all now centred rather than left aligned and inset as they were previously.

    How to set this right, please?

    • This reply was modified 8 months, 1 week ago by Matt Wingett.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Image captions show as aligned left instead of centered’ is closed to new replies.