Viewing 10 replies - 1 through 10 (of 10 total)
  • Well you can try changing around your thumbnail sizes :

    Gallery->Options

    Thumbnails tab.

    Otherwise you’ll need to edit the nggallery.css, before making any changes to the css make sure you back it up first.

    Good luck.

    Thread Starter thirdpotato

    (@thirdpotato)

    That didn’t seem to work, I”m afraid. I don’t know what’s causing it to just mess up the last line. It seems to have to do with what order it’s in: Date, Custom, etc. Either way, every option messes up in one way or another but I dont know why.
    Changing it to: Date/Time, Ascending works, but not Descending. It seems so random!

    Have you made a custom nggallery.css in your theme directory ?

    First off back up your nggallery.css file, located in :

    /wp-content/plugins/nextgen-gallery/css

    Then you can use :

    Gallery->Style

    Search for the following and change it to what I paste below :

    .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 thirdpotato

    (@thirdpotato)

    Awesome thanks so much, Sixx. That seems to do it except: https://tobylotak.com/gallery/ the very bottom row is cut off. What setting affects that? I tried changing the height, but that doesn’t seem to do it, unless I’m changing the wrong height?

    Thread Starter thirdpotato

    (@thirdpotato)

    And I hate to bother you, but you wouldn’t happen to know about the gallery navigation, would you? I have a thread here in regards to making it work for tag galleries?

    You may need to reduce the thumbnail size to squeeze in the bottom row.

    Uh I’ve never made a gallery from a tag, I dunno how.

    I’m guessing when you click on the image from a tag gallery, you’re accessing the original gallery. So the next button would continue inside the original gallery not from the tag gallery.

    Since I don’t know what images are in the original or tag gallery I really don’t have an answer.

    May not be possible. The next button just cycles through the current gallery.

    Seems like you’re asking for a gallery to made on the fly.

    I dunno.

    Good luck, glad I could help a little.

    P.S. if you want to ensure you don’t lose these settings you should copy nggallery.css into your theme directory.

    The reason being the next time there’s an update you’ll lose the settings.

    By keeping a copy of nggallery in your themes directory it’ll override the one in the nggallery directory.

    Also when you make the copy, the settings you change in Style won’t have an effect. So future alterations must be made the nggallery.css in your theme directory.

    @thirdpotato
    I don’t know what your gallery looked like originally but removing the magin and padding settings
    margin:0pt 0pt 6px !important;
    padding:0px 0pt 0pt 0px; /* -sixx- 12px 0pt 0pt 7px !important; */
    padding-top:10px;
    padding-bottom: 5px; /* -sixx- */

    from .ngg-gallery-thumbnail
    and using the following css seems to be ok when I try it in firebug…
    ngg-gallery-thumbnail-box { height: 110px; }

    eek!
    that should have been .ngg-gallery-thumbnail-box { height: 110px; }

    Thread Starter thirdpotato

    (@thirdpotato)

    Fantastic! Thank you both very much for all the help. Greatly appreciated!

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Weird gallery order’ is closed to new replies.