[Resolved] Center-align multiple images with captions

Home Forums Support [Resolved] Center-align multiple images with captions

Home Forums Support Center-align multiple images with captions

  • This topic has 7 replies, 2 voices, and was last updated 4 years ago by Leo.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1234574
    Rick

    Center-align multiple images with captions does not work the same as center-align multiple images without captions.
    This looks like a WordPress issue, not GP Premium, but I’m not sure.
    Any CSS fixes come to mind?
    Thanks!
    -Rick

    #1234701
    Leo
    Staff
    Customer Support

    Hi there,

    Not 100% sure if I understand.

    How are you adding those images?

    Just with HTML?

    #1234994
    Rick

    The images are added to the page using the WordPress CLASSIC editor (not Gutenberg). I added a note at the top of the page to explain the process.

    Thanks!

    #1235401
    Leo
    Staff
    Customer Support

    Sorry I’m still not exactly sure what the issue is.

    You don’t want them to be inline?

    Have you considered using Gutenberg? It would make things like this a whole lot easier.

    Let me know ๐Ÿ™‚

    #1235409
    Rick

    Forget Gutenberg. Forget this support request. If you watched the video, you’d understand the issue.

    #1235428
    Leo
    Staff
    Customer Support

    I did watch the video but didn’t see it mentioning any issues related to captions.

    Are you saying that the images don’t align to the center with captions?

    From the code it just looks like no alignment is set:
    https://www.screencast.com/t/9EZHERYa3Zs

    You can use this CSS to force it:

    figure.alignnone {
        margin-left: auto;
        margin-right: auto;
    }
    #1239265
    Rick

    Here’s what fixed the issue:
    figure {display:inline-block;}

    #1239312
    Leo
    Staff
    Customer Support

    Glad you’ve figured out ๐Ÿ™‚

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