• Resolved Lucas Felix

    (@xlucasfelix)


    I started using the plugin on my site, but since then all images (webp) that were centered are now left aligned in the posts.

    How can I fix this?

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter Lucas Felix

    (@xlucasfelix)

    I need help solving this! The problem broke the formatting of several posts, otherwise I will have to uninstall the plugin (unfortunately) ??

    Plugin Author WP Media

    (@wp_media)

    Hi @xlucasfelix

    ?Sorry to hear about the issue!

    We had a similar ticket recently so not sure if it was from you.

    Can you give me the URL of your site, there might be needed to add some custom CSS code to make it work as expected.

    What you can try is to add this to your CSS file:

    .aligncenter{text-align:center;}

    Best Regards

    Thread Starter Lucas Felix

    (@xlucasfelix)

    @wp_media Thanks for the answer!

    I didn’t open a ticket, this is the first contact!

    I tried adding css code but the problem still persists! See an example of this at the link below:
    https://www.brawlstarsdicas.com.br/estrela-solitaria-dicas-melhores-brawlers-mapas-wiki-lone-star/

    The star at the beginning of the post was to be center aligned!

    Also see this video in detail: https://imgur.com/a/nKS362i

    Plugin Author WP Media

    (@wp_media)

    Hi @xlucasfelix

    Thanks for providing these.

    A small update, you can use this CSS code:

    .aligncenter {
    text-align: center;
    display: block;
    }

    It will work.

    The problem is that we can not fully control HTML/CSS coverage automatically, so it is mostly on theme providers to improve compatibility with this kind of changes.

    Please test this code and let me know if it works well on your end.

    Best Regards

    Thread Starter Lucas Felix

    (@xlucasfelix)

    @wp_media Thanks so much for the support! The code worked well, I will continue following the other posts!

    Glad to continue using your plugin! Thank you again!

    Plugin Author WP Media

    (@wp_media)

    Happy to hear that!

    Wish you all the best!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Centered images are left aligned on posts …’ is closed to new replies.