WordPress.org

Ready to get started?Download WordPress

Forums

NextGEN Gallery
Thumbnails create weird layout and don't line up right (3 posts)

  1. dosuntai
    Member
    Posted 1 year ago #

  2. DoubleSixx
    Member
    Posted 1 year ago #

    You'll have to edit your nggallery.css

    You can really screw things up by playing around with the file.

    I suggest you back it up first before making any changes.

    You can edit by going to Gallery - Styles

    I made change to mine. I think what you want is in the :

    /* ----------- Gallery style -------------*/

    Try replacing .ngg-gallery-thumbnail and .ngg-gallery-thumbnail img with mine. See if that does what you want.

    .ngg-gallery-thumbnail {
    /* float: left; sixx */
    /* margin-right: 5px; sixx */
    /* padding-top:10px; -sixx- row space in gallery */

    height:86px;
    margin:0pt 0pt 6px !important;
    padding:0px 0pt 0pt 0px; /* -sixx- 12px 0pt 0pt 7px !important; */
    padding-top:10px;
    padding-bottom: 5px; /* -sixx- */
    width:120px;
    }

    .ngg-gallery-thumbnail img {
    background-color:#FFFFFF;
    border:1px solid #A9A9A9;
    display:block;
    /* -sixx margin:4px 0px 4px 5px; */
    margin-left: auto; /* -sixx- */
    margin-right: auto; /* -sixx- */
    padding:4px;
    position:relative;
    }

    Good luck

  3. dosuntai
    Member
    Posted 1 year ago #

    Thanks for the reply... I tried some variations of what you suggested, and couldn't make anything work; so I just resized the thumbnail... and that fixed it.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic