• Resolved wpandy82

    (@wpandy82)


    When adding an image block and setting alignment to “centered”, the image appears correctly centered when in edit mode. As soon as I leave edit mode and view my page, however, the image appears left aligned and only its caption is centered. When I go back to edit mode, the image is centered correctly again but outside edit mode it’s left aligned. How can I fix this please?

Viewing 5 replies - 1 through 5 (of 5 total)
  • @wpandy82 does this happen when you preview the page or after publishing it?

    Can you show a link with a post/page where this happens?

    Thread Starter wpandy82

    (@wpandy82)

    It happens after publishing it. Is there any way to send you the link in private because my site is still in development and I don’t want to post the URL publically…

    Theme Author WPZOOM

    (@wpzoom)

    @wpandy82 Hi,

    Could you add the following CSS code in the Customizer > Additional CSS:

    .aligncenter {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    I believe your image was resized in the editor or probably it’s a small image (< 950px).

    Pavel

    Thread Starter wpandy82

    (@wpandy82)

    Thanks a lot, this fixes the problem!

    Thread Starter wpandy82

    (@wpandy82)

    Replying again to mark as solved

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Image doesn’t get centered’ is closed to new replies.