Title: justify gallery?
Last modified: April 8, 2017

---

# justify gallery?

 *  Resolved [bvo](https://wordpress.org/support/users/bvo/)
 * (@bvo)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/justify-gallery/)
 * Hi all,
    is there a way to align the tumbnails “justify”, so filling up the full
   width of the content column? Of course resonsive, so there will be less of more
   thumbnails in a row when the viewport is smaller or wider.

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

 *  Plugin Contributor [photocrati](https://wordpress.org/support/users/photocrati/)
 * (@photocrati)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/justify-gallery/#post-9015626)
 * [@bvo](https://wordpress.org/support/users/bvo/) – I would imagine you are referring
   to the Basic Thumbnails display type which has a responsive layout if the default
   number of columns value is retained (set to zero) although still restricted based
   on a number of factors such as content width and thumbnail dimensions. Otherwise,
   we do not currently have a responsive mechanism for “thumbnail” display types.
 * You might look at other display types in our demo pages at [https://imagely.com/](https://imagely.com/)
 * Thanks!
 * – Cais.
 *  Thread Starter [bvo](https://wordpress.org/support/users/bvo/)
 * (@bvo)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/justify-gallery/#post-9015763)
 * Hi Cais,
 * Thanks for your reply.
    Im not sure what type I use, but I didnt change it so
   I guess its the basic thumbnail (it says gallery.php). The numer of columns is
   0. And it is responsive!
 * I use the gallery in a post with text aswell. The text is aligned justify so 
   fills up the complext widht of the content div. The gallery does not. So I’de
   like to know if there is a setting or css parameter I can adjust to change this.
 * Should I provide a screenshot or website link?
 *  Plugin Contributor [photocrati](https://wordpress.org/support/users/photocrati/)
 * (@photocrati)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/justify-gallery/#post-9019522)
 * [@bvo](https://wordpress.org/support/users/bvo/) – We do not actually recommend
   using that NextGEN Legacy template as it is more for example purposes when creating
   a new custom template.
 * As it is, there is no dynamic code or customer JavaScript/CSS we have to offer
   that would push the basic thumbnails display into filling the available space.
   If your theme uses a fixed width for the content area you could likely calculate(
   and/or by trial and error) the appropriate dimensions to use for thumbnails to
   fill the space.
 * Thanks!
 * – Cais.
 *  Thread Starter [bvo](https://wordpress.org/support/users/bvo/)
 * (@bvo)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/justify-gallery/#post-9024147)
 * Thanks Cais,
 * I changed the template to the default. It’s a pitty there’s no way of filling
   the space. I tried this, and it did do something, but nog exactely what I want
   and not on every browser 🙁
 * I’ll close the call. Thanks for your replies. Might you however do know a solutions,
   pleas let me know.
 * .ngg-galleryoverview {
    width: 100%; text-align:justify; }
 * .ngg-gallery-thumbnail-box {
    float:none !important; display:inline-block;
 *  Plugin Contributor [photocrati](https://wordpress.org/support/users/photocrati/)
 * (@photocrati)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/justify-gallery/#post-9024565)
 * [@bvo](https://wordpress.org/support/users/bvo/) – Thanks for sharing; and, yes,
   if we do find something that would accomplish this we will make it public knowledge.
 * – Cais.

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

The topic ‘justify gallery?’ 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

 * [align](https://wordpress.org/support/topic-tag/align/)

 * 5 replies
 * 2 participants
 * Last reply from: [photocrati](https://wordpress.org/support/users/photocrati/)
 * Last activity: [9 years, 1 month ago](https://wordpress.org/support/topic/justify-gallery/#post-9024565)
 * Status: resolved