Forums

[resolved] vertical align bottom on wordpress default gallery (3 posts)

  1. adelchi
    Member
    Posted 5 months ago #

    Hi all,
    I've been trying to align to the bottom all the images on a row of a default gallery, but I can't find the proper way.
    can anyone help me and suggest a solution?

    for example, this is a page with the gallery http://test.solomango.com/?p=10

    any help will be much appreciated!

  2. mookasaurus
    Member
    Posted 5 months ago #

    Try setting line-height to .gallery-item the same as the height: line-height:160px;
    Then add vertical-align:bottom to .gallery-icon img.

  3. adelchi
    Member
    Posted 5 months ago #

    Yay!! brilliant, thanks!
    (need to consider line-height again in the future...)

Reply

You must log in to post.

About this Topic