WordPress.org

Ready to get started?Download WordPress

Forums

NextGEN Gallery
[resolved] Weird gallery order (11 posts)

  1. thirdpotato
    Member
    Posted 1 year ago #

    Can someone explain what's going on with my gallery's order? It's not in one formal block:
    http://tobylotak.com/gallery/

    Collumns to 0
    Pagination set to 0 (because it is messed up in the same way when I set this to any number)

    Also having a problem with the date/time. See thread: http://wordpress.org/support/topic/dates-messed-up?replies=1

    http://wordpress.org/extend/plugins/nextgen-gallery/

  2. DoubleSixx
    Member
    Posted 1 year ago #

    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.

  3. thirdpotato
    Member
    Posted 1 year ago #

    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!

  4. DoubleSixx
    Member
    Posted 1 year ago #

    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.

  5. thirdpotato
    Member
    Posted 1 year ago #

    Awesome thanks so much, Sixx. That seems to do it except: http://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?

  6. thirdpotato
    Member
    Posted 1 year ago #

    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?

  7. DoubleSixx
    Member
    Posted 1 year ago #

    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.

  8. DoubleSixx
    Member
    Posted 1 year ago #

    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.

  9. Toshi Yoshida
    Member
    Posted 1 year ago #

    @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; }

  10. Toshi Yoshida
    Member
    Posted 1 year ago #

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

  11. thirdpotato
    Member
    Posted 1 year ago #

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic