Support » Fixing WordPress » CSS to Align Left

  • Resolved thekentuckygent


    Not sure when this happened, but all the images on my site are center aligned now.

    I’ve tried my best to figure out a CSS solution to force all images to align left, but I’ve come up blank.

    Any help would be appreciated!

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi, looking at the ‘master-of-mixes-michelada’ post for example, the source code of your images don’t have any alignleft/align-left/left-align/leftalign CSS classes being set. If you edit the post and modify the lime in the drink (2nd image in post) and set it to align left does it update and display correctly?

    @jarretc yes, if I update the image in post it does correct to be left aligned.

    Great! Does that resolve the issue for you then? Or are you still wanting all images to be left aligned by default? There is probably some CSS that could be used for that to force it but I’m not sure if it would possibly cause some unforseen layout issues.

    @jarretc technically, yes it could resolve the issue, BUT I’d have to go in and manually do that for 4+ years of posts which could take quite a while. So I would love a CSS work around to force it do so as it was never center aligned until a recent update I’m guessing?

    Sorry for the delay in response. I would try this CSS

    .single .post figure.wp-block-image {
        margin-left: 0px;;


    @jarretc it worked! Thanks so much.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘CSS to Align Left’ is closed to new replies.