• Resolved eric_the_grey

    (@eric_the_grey)


    I’m trying to center my gallery, both the slideshow, and the thumbnails (when selected). I can do this for the slideshow which is the default, but not the image list.

    When someone clicks the show the images, the list (3 wide x 7 tall) is left-justified. I’d like this to also be centered.

    I would also like the [Show Picture List] to be beneath the slideshow if possible.

    Is this possible? I’m not a stranger to editing themes if that is what’s required.

    Eric the Grey

    https://wordpress.org/plugins/nextgen-gallery/

Viewing 1 replies (of 1 total)
  • Plugin Contributor photocrati

    (@photocrati)

    @eric_the_grey – Centering the thumbnails is generally accomplished with some custom CSS, give the following a try:

    /** Center Basic Thumbnails */
    .ngg-galleryoverview {
        text-align: center !important;
    }
    .ngg-gallery-thumbnail-box {
        float: none !important;
        display: inline-block !important;
    }

    As to moving the link text you are referring to that will likely require creating a custom template for the slideshow (actually the thumbnail template in this case). I would suggest using the “captions” template as a guide, it can be found here:

    ../wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/ngglegacy/view/gallery-caption.php

    Just save your custom (NextGEN Legacy) template in the same location.

    To change the default behavior of the current NextGEN Gallery Basic Slideshow for all instance then you might look at creating an update safe custom template for it.

    Locate this file:
    ../wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/nextgen_basic_gallery/templates/slideshow/index.php

    Save it to this location:
    ../wp-content/ngg/modules/photocrati-nextgen_basic_gallery/templates/slideshow/index.php

    Then edit the copied file to adjust your display.

    Thanks!

    – Cais.

Viewing 1 replies (of 1 total)

The topic ‘Center Basic Slideshow and Image List’ is closed to new replies.