WordPress.org

Ready to get started?Download WordPress

Forums

Gallery column (4 posts)

  1. Code Metic
    Member
    Posted 1 year ago #

    Anyone will help me this problem.

    I set gallery column to 5 in the post, but some of the picture within the expected row does not in line with.

    In one row, one image goes to bottom part of its row.

    http://diamondpremiere.net/listings/dona-rosario-village-mandaue-city/

    : <

  2. Pioneer Valley Web Design
    Member
    Posted 1 year ago #

    Width of container in CSS = (img width +/- margin +/- padding)/3 - it's math - do it. It really is the issue.

  3. Code Metic
    Member
    Posted 1 year ago #

    But I think its wordpress gallery api default css. I could not change the css for the image.

  4. Code Metic
    Member
    Posted 1 year ago #

    I know your pointing in this

    #gallery-1 .gallery-item {
    float: left;
    margin-top: 10px;
    text-align: center;
    width: 20%;
    }

    But this is wordpress css settings.

Topic Closed

This topic has been closed to new replies.

About this Topic