WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Display of thumbnails on page – sudden empty slots in thumbnails listing

[Resolved] Display of thumbnails on page – sudden empty slots in thumbnails listing

Viewing 4 replies - 1 through 4 (of 4 total)
  • smigliorato
    Member

    @smigliorato

    Thanks for including all of the technical information.

    However, this is an easy CSS fix.

    The way the images are displayed is a quirk of the way the galleries are layed out, and the fact that they don’t have a proper CSS height.

    If you wanted to know why it happens, you’ll notice that on the rows above the empty ones, there is a caption that is a bit longer than the others. It sticks out and causes problems on the row below it.

    To fix this, you will have to go to Gallery->Styles.

    Look for a line that says:

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

    Below this is all of the CSS code that you can use to make the gallery look the way you would like.

    I did some testing on the two pages you said you had problems, and I found a setting that worked just right.

    Find this line:

    .ngg-gallery-thumbnail {
        /* There will be some  *
         * styles here already */
        height: 335px; <- Add this line (not including the arrow)
    }

    Let me know if that works for you.

    You can adjust the setting up and down to see what you like best.

    Hitting Control-F5 to refresh after you’ve saved the file should ensure you see the results right away.

    If you have any caching plugins enable, on the other hand, it might prevent you from seeing the changes right away.

    It works now. Thanks very much for the solution, and the detailed explanation! 🙂

    Oops, forgot to mark this topic as resolved.

    smigliorato
    Member

    @smigliorato

    Awesome, I’m glad to be of assistance.

    Thank you for marking the thread as resolved!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] Display of thumbnails on page – sudden empty slots in thumbnails listing’ is closed to new replies.