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 1 replies (of 1 total)
  • Theme Author AF themes

    (@afthemes)

    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, .wp-block-image.is-resized>figcaption {
        text-align: center;
    }

    Best regards

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.