• Resolved ludakriss

    (@ludakriss)


    Hello.

    I have a problem with image captions. They are left aligned even when I try to center the whole block.

    Picture: https://snag.gy/qzA9KW.jpg

    Not only are they left aligned, but the box they are in is so small that it breaks into several lines of text.

    Is there any custom css code I can use for a quick fix?

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    It could be because your theme is setting “display block” on the <figure> element, and so overriding the WordPress styles.

    Try adding this to your “Additional CSS” part of the dashboard:

    
    html .article-full .aligncenter, 
    html .type-post .aligncenter {
        display: table;
    }
    
    Thread Starter ludakriss

    (@ludakriss)

    Thank you so much, that worked like a charm ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Problem with image caption’ is closed to new replies.