Title: Captions &amp; Templates
Last modified: January 18, 2020

---

# Captions & Templates

 *  Resolved [alFrame](https://wordpress.org/support/users/alframe/)
 * (@alframe)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/captions-templates/)
 * Hi there,
 * Is captions under images only achievable by using the legacy template?? Or worse,
   is it a pro feature??
 * Problem is that it seems that the legacy template is using some other form of
   responsive css code.
 * I managed to make the gallery look nice on different screen sizes by changing
   some of the css using the “new” template. [https://www.janine-cristina-hemmi.ch/](https://www.janine-cristina-hemmi.ch/)
 * But that css does not work if I use the legacy template including the captions.
   [https://www.janine-cristina-hemmi.ch/raku-keramik-bestellen/](https://www.janine-cristina-hemmi.ch/raku-keramik-bestellen/)
 * Besides the image not being centered above the caption, the page is not responsive
   at all and images stay in 5 columns. Strange design decision in 2020 and mobile
   first area…
 * To display captions should simply be an option (checkbox) when inserting a gallery
   and not a complete different template and legacy on top of that.
 * I guess I am missing something obvious here.
 * Thanks,
    Alex
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcaptions-templates%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Thread Starter [alFrame](https://wordpress.org/support/users/alframe/)
 * (@alframe)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/captions-templates/#post-12340440)
 * Addendum: I managed to center the image and the caption.
 * And here’s the gallery insert short code: [ngg src=”galleries” ids=”19″ display
   =”basic_thumbnail” override_thumbnail_settings=”1″ thumbnail_width=”180″ thumbnail_height
   =”180″ images_per_page=”200″ number_of_columns=”5″ show_slideshow_link=”0″ template
   =”/home/hemmispa/public_html/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/
   modules/ngglegacy/view/gallery-caption.php”]
 * Maybe this helps. (hope hope)
 *  [gabyimagely](https://wordpress.org/support/users/gabyimagely/)
 * (@gabyimagely)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/captions-templates/#post-12346362)
 * Hello [@alframe](https://wordpress.org/support/users/alframe/),
 * Thank you so much for sharing this information with us.
    In case someone is trying
   to archive a similar result, here are the steps with our Free version:
 * – Use our “Basic Thumbnails” display.
    – Select the option “NextGen Legacy Gallery
   caption”. Note: The information that will be used for that gallery display it’s
   the “caption” or description in your photograph.
 * Would you like to see other galleries templates in NextGEN Gallery?
    Please, 
   feel free to use this feature request form: [https://www.imagely.com/feature-voting/](https://www.imagely.com/feature-voting/)
 *  Thread Starter [alFrame](https://wordpress.org/support/users/alframe/)
 * (@alframe)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/captions-templates/#post-12346402)
 * Thank you for getting back to me!
 * That’s exactly what I did, but the rows stay with 5 columns each when viewed 
   on smaller screens, or resize the browser window.
 * I figured that if I set the columns to “0” (zero) instead of “5” they do rearrange
   correctly.
 * However, I don’t seem to be able to center the gallery when there’s 4, 3, 2 or
   one column.
 * Thanks,
    Alex
 *  [Mihai Ceban](https://wordpress.org/support/users/mihaiimagely/)
 * (@mihaiimagely)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/captions-templates/#post-12347535)
 * Hi [@alframe](https://wordpress.org/support/users/alframe/),
 * You can try to center the thumbnails for the mobile screens by adding the CSS
   media query from below to “Gallery -> Other Options -> Styles”:
 * [@media](https://wordpress.org/support/users/media/)(max-width: 400px) {
    .ngg-
   gallery-thumbnail-box { float: none !important; }
 * .ngg-galleryoverview {
    text-align: center; }}
 *  Thread Starter [alFrame](https://wordpress.org/support/users/alframe/)
 * (@alframe)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/captions-templates/#post-12349510)
 * Thank you!
 * That works nicely below 200 pixels. But not above. Also taking the following 
   outside the media query doesn’t help.
 * .ngg-galleryoverview {
    text-align: center; }
 * The columns change from 6 to 4 to 3 to 2 but not centered and then centered once
   it’s reduced to 1 column. Which in general is breaking the design as we have 
   4 columns on all other galleries of the page i.e. [https://www.janine-cristina-hemmi.ch/bilder/](https://www.janine-cristina-hemmi.ch/bilder/)
 * Those pages use the: Select View – “default-view.php” and the Legacy (Old) Templates–“
   Standard” settings. I assume this is using the v3 and above template architecture,
   right?
 * I also changed the page to not use wpbakery page builder, but that didn’t change
   a thing.
 * Why is there no caption template using the (I assume) new templates in Imagely?
 * I guess I am still missing something.
 * Thanks,
    Alex
 *  [Mihai Ceban](https://wordpress.org/support/users/mihaiimagely/)
 * (@mihaiimagely)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/captions-templates/#post-12352286)
 * Hi [@alframe](https://wordpress.org/support/users/alframe/),
 * The “Legacy (Old) Templates” weren’t updated for a while and respectively those
   may not behave in the same responsive manner as the main default template does
   but you can add the CSS rule to fix this problem:
 * .ngg-gallery-thumbnail-box {
    display: inline-block; float: none; vertical-align:
   middle; }
 *  Thread Starter [alFrame](https://wordpress.org/support/users/alframe/)
 * (@alframe)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/captions-templates/#post-12354896)
 * [@mihaiimagely](https://wordpress.org/support/users/mihaiimagely/) Thank you!
 * That plus some media queries fixed the problem.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Captions & Templates’ is closed to new replies.

 * ![](https://ps.w.org/nextgen-gallery/assets/icon-256x256.png?rev=2083961)
 * [Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery](https://wordpress.org/plugins/nextgen-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/nextgen-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/nextgen-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/nextgen-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/nextgen-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/nextgen-gallery/reviews/)

## Tags

 * [captions](https://wordpress.org/support/topic-tag/captions/)
 * [responsive design](https://wordpress.org/support/topic-tag/responsive-design/)
 * [templates](https://wordpress.org/support/topic-tag/templates/)

 * 7 replies
 * 3 participants
 * Last reply from: [alFrame](https://wordpress.org/support/users/alframe/)
 * Last activity: [6 years, 3 months ago](https://wordpress.org/support/topic/captions-templates/#post-12354896)
 * Status: resolved