[Resolved] Image captions are no longer centered

Home Forums Support Image captions are no longer centered

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1088441
    Guillermo

    Hello

    I can’t specify when it happened, but suddenly the captions of my images have stopped appearing centered on my pages and post and now they appear left aligned.

    I have tried to fix it by adding this additional CSS:

    .wp-caption-text {
    text-align: center;
    }

    with no satisfactory results.

    My theme is 2.4.1
    My GP Premium is 1.9.1

    Thank you very much for your help.
    Guillermo

    #1088568
    Hollee

    I’m having the same issue since the update 🙁

    #1088596
    Leo
    Staff
    Customer Support

    Hi there,

    Try this CSS instead:

    .wp-block-image figcaption {
        text-align: center;
    }

    Adding CSS: https://docs.generatepress.com/article/adding-css/

    Let me know if this helps 🙂

    #1089312
    Guillermo

    Fixed!
    Now it works.

    Thank you very much Leo for your help!

    Guillermo

    #1089943
    Leo
    Staff
    Customer Support
    #1236612
    Earl

    I had the same problem. This CSS snippet fixed it.

    Many thanks!!!

    Earl

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