Support » Plugins » [Pluging: NextGen Gallery] Centering Gallery Thumnails

  • Good day all,

    I’m having an issue with centering the gallery thumbnails and although I’ve looked through all the forums and done search after search on them, I keep coming up with the same CSS modification code for the nggallery.css which I have pasted below for all to see.

    I have followed the following forum posts and since they have all been closed, I decided to post a new one:

    An example post from my blog of where I’m having an issue can be seen below. You can see that the 1st gallery has no issues because it spans the full width of the page but the 2nd gallery on that page is left aligned whereas the CSS should be telling it to be centered:

    Any help would be much appreciated as this is driving me nuts!!!

    /* ———– Gallery style ————-*/

    .ngg-galleryoverview {
    text-align: center;
    overflow: hidden;
    margin-top: 10px;
    width: 100%;
    display:block !important;

    .ngg-galleryoverview .desc {
    /* required for description */
    margin:0px 10px 10px 0px;

    .ngg-gallery-thumbnail-box {
    text-align: center;

    .ngg-gallery-thumbnail {
    margin-right: 5px;
    text-align: center;
    display: inline-block;

    .ngg-gallery-thumbnail img {
    border:1px solid #A9A9A9;
    margin:4px 0px 4px 5px;

    .ngg-gallery-thumbnail img:hover {
    background-color: #A9A9A9;

    .ngg-gallery-thumbnail span {
    /* Images description */

    .ngg-clear {
    clear: both;

  • The topic ‘[Pluging: NextGen Gallery] Centering Gallery Thumnails’ is closed to new replies.