• Hello. I’ve noticed on some of my older blog posts that centered images were no longer centered. I went out to edit them to correct this and the little pop-up editor wouldn’t show, so I tried using HTML. While the images show centered in the editor, when I preview or update and post, they’re left aligned.

    You can see this on the top two images on this post:

    https://shebloggedbynight.com/2007/murder-by-television-1935-2/

    The last time I checked (which was admittedly months ago) they were aligned properly. I’ve tried removing them and adding new copies, used different browsers, switched from Classic Editor (the plugin) to the default editor, but nothing worked. Do you have any suggestions please?

    • This topic was modified 3 years, 4 months ago by sbbn.

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,

    Maybe a recent Theme Update or WordPress update might have created this.

    If you can open your theme Style.css and go to line number #1742 and make the below edit.

    .aligncenter, img.aligncenter {
        clear: both;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    See if this helps.

    Thanks.

    Thread Starter sbbn

    (@sbbn)

    Hello! I made the changes in style.css but it didn’t change anything, unfortunately.

    Thread Starter sbbn

    (@sbbn)

    Hi, just wanted to say I also removed two FooGallery widgets and switched briefly over to a different theme and still had the same problem. Any thoughts?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Images no longer centered and can’t be fixed’ is closed to new replies.