• Hello,

    I’m building a page with a series of images, all of which are the same size. I want them to appear in a grid, and almost all of them are aligned as I want them. But on the last line the first image is aligned to the right, and the rest of the images are pushed onto the next line. Alignment is set to ‘left’ on all of the images. If anybody could point me toward a resolution to this issue, I’d be most appreciative.

    Thanks,
    Will

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • go to your WordPress dashboard >> pages >> open the page where those files are >> try to align them with visual editor. if it doesn’t work change to text editor and check for any unnecessary paragraphs or lines that might be cause this issue.

    Thread Starter willburrows

    (@willburrows)

    Thanks. Aligning them with the visual editor is what I’ve been trying to do. I tried switching to the text editor, but can’t see anything out of place.

    all of which are the same size

    actually, they are not;
    the nineth last is higher (scaled because the original is narrower than the rest);
    also, the 6th last has a text brokien into two lines…

    simple ‘alignleft’ does not work, because the floated items will get ‘stuck’ on anything out of line.

    try working with the :nth-child pseudo CSS selector to add a clear: left; to every third image.

    alternatively, consider to create a gallery with those images.

    Thread Starter willburrows

    (@willburrows)

    That text on two lines was the culprit. Thank you for your help.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Trouble with Image Alignment’ is closed to new replies.