Viewing 2 replies - 1 through 2 (of 2 total)
  • 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

    Thread Starter dosuntai

    (@dosuntai)

    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Thumbnails create weird layout and don't line up right’ is closed to new replies.