how to center multiple images in a post

Viewing 2 posts - 1 through 2 (of 2 total)
  • #6749
    johnsearles
    Participant

    I am trying to center 4 or 5 images on a line. The Gallery tool will do this, however Gallery images don’t resize properly when the post is resized for tablet or phone. Using style commands such as <div class="aligncenter"> doesn’t work, nor does <div align="center">. The WordPress center align button doesn’t work. Any suggestions? Google & Bing searches haven't helped either.

    • This topic was modified 12 years, 2 months ago by johnsearles.
    • This topic was modified 12 years, 2 months ago by johnsearles.
    #6893
    Daniel Tara
    Keymaster

    Technically there’s no such thing as aligning multiple items. At most you could do some containers that span in equal widths in the content area and then make the images center in those containers. You have the built-in grid system so you can add containers like <div class=”column threecol”> but these will stack on top of the other at some point when the device width narrows, it’s the way it’s intended.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.