Viewing 2 replies - 1 through 2 (of 2 total)
  • You can use CSS to automatically align all images to the center. Here’s how you can do it:

    .wp-block-image img{
    display: block;
    margin-left: auto;
    margin-right: auto;
    }

    You can add this CSS code to your theme’s style.css file or use a custom CSS plugin to apply it to your site. This will ensure that all images within your post content are aligned to the center. Let me know if it will work!

    Thread Starter xiaozhu

    (@xiaozhu)

    Hello, kind stranger,

    I tried your fix but it doesn’t look like it’s working.

    See this post: the first two images are manually centered ( I did it) but the rest are still left aligned: https://correresmidestino.com/santo-domingo/

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