[Support request] Image subtitles do not display correctly

Home Forums Support [Support request] Image subtitles do not display correctly

Home Forums Support Image subtitles do not display correctly

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1381617
    George

    When I create an image subtitle, it displays in the editor below the image, in a smaller font size and centered – as I would want it to look like. Here is an example:
    2020-07-30_14-31-43

    However when I save the page, the image subtitle has the same font size as the text, and it is not centered anymore. Here is the screenshot of the same image once it is saved:
    2020-07-30_14-39-39

    What can I do so that the subtitle displays correctly as in the editor – small font size and centered?

    #1381630
    David
    Staff
    Customer Support

    Hi there,

    try adding this CSS:

    .wp-block-image figcaption {
        text-align: center;
        font-size: 0.8em;
        opacity: 0.8;
    }
    #1381656
    George

    That works, thank you!

    #1381769
    David
    Staff
    Customer Support

    You’re welcome

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