Title: Thumbnails have different width
Last modified: August 31, 2016

---

# Thumbnails have different width

 *  Resolved [dejudicibus](https://wordpress.org/support/users/dejudicibus/)
 * (@dejudicibus)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/thumbnails-have-different-width/)
 * Here is the page where I use this plug-in:
 * [Press Release](http://academy.romafilm.it/rassegna-stampa/)
 * For some reason, the thumbnails on left column, have not all teh same size. Any
   idea why?
 * [https://wordpress.org/plugins/document-gallery/](https://wordpress.org/plugins/document-gallery/)

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

 *  Plugin Author [Dan Rossiter](https://wordpress.org/support/users/danrossiter/)
 * (@danrossiter)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/thumbnails-have-different-width/#post-7022745)
 * The sizing is done proportionally and your documents are all different heights,
   thereby forcing the widths to also be different. If you go to `Dashboard -> Settings-
   > Document Gallery` you can mess with the bounding box being used to get things
   scaled how you want. If you leave the width as is and set the height for some
   very large number (maybe 9999, for example) you should get them all the same 
   width, but then they’ll all be varying heights.
 * -Dan
 * PS: If you’ve found this plugin useful, please take a moment to [rate it](https://wordpress.org/support/view/plugin-reviews/document-gallery#postform).
   Thanks! 🙂
 *  Thread Starter [dejudicibus](https://wordpress.org/support/users/dejudicibus/)
 * (@dejudicibus)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/thumbnails-have-different-width/#post-7022781)
 * Not sure I did it in the right way. I set thumbnails max w & h to 240×1000 but
   I still have the problem in [http://academy.romafilm.it/rassegna-stampa/](http://academy.romafilm.it/rassegna-stampa/)
   What I did wrong?
 *  Thread Starter [dejudicibus](https://wordpress.org/support/users/dejudicibus/)
 * (@dejudicibus)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/thumbnails-have-different-width/#post-7022782)
 * What I need is that the left column has always the same size, as in a table, 
   and that all thumbnails are centered in that cells. Height can vary, of course.
   That is not a problem. Another problem is text wrapping. What I need is something
   like
 *     ```
       +--+  Lorem ipsum lorem ipsum lorem ipsum lorem ipsum
       |  |  lorem ipsum lorem ipsum lorem ipsum lorem ipsum
       +--+  lorem
       +--+  Lorem ipsum lorem ipsum lorem ipsum lorem ipsum
       |  |  lorem ipsum lorem ipsum lorem ipsum lorem ipsum
       +--+  lorem ipsum lorem ipsum
       +--+  Lorem ipsum lorem ipsum lorem ipsum lorem ipsum
       |  |  lorem ipsum lorem ipsum lorem ipsum lorem ipsum
       +--+  lorem ipsum lorem ipsum lorem
       ```
   
 *  Plugin Author [demur](https://wordpress.org/support/users/demur/)
 * (@demur)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/thumbnails-have-different-width/#post-7022905)
 * Hi **dejudicibus**!
 * We are sorry for leaving Your question unsettled for so long.
    We believe this
   CSS should solve Your problem:
 *     ```
       .document-gallery {
           display: table !important;
           table-layout: fixed;
       }
       .document-icon-row.descriptions {
           display: table-row !important;
       }
       .descriptions.document-icon-row .document-icon {
           display: table-cell !important;
           float: initial !important;
           min-width: 110px;
       }
       ```
   
 * In case You’d like to set some spacing between _.document-icon-row_`s there is
   a way by adding:
 *     ```
       border-collapse: separate;
       border-spacing: 0px 5px;
       ```
   
 * to the _.document-gallery_ block.
 * Please don’t hesitate to let us know if You run into any further issues.
 *  Thread Starter [dejudicibus](https://wordpress.org/support/users/dejudicibus/)
 * (@dejudicibus)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/thumbnails-have-different-width/#post-7022915)
 * Thank you demur. It works!
 *  Plugin Author [demur](https://wordpress.org/support/users/demur/)
 * (@demur)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/thumbnails-have-different-width/#post-7022916)
 * Hi **dejudicibus**,
 * We are glad that it worked out for You.
 * PS: If You’ve found our answers and/or the plugin useful, please [rate the efforts](http://wordpress.org/support/view/plugin-reviews/document-gallery#postform).
   Thanks!

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

The topic ‘Thumbnails have different width’ is closed to new replies.

 * ![](https://ps.w.org/document-gallery/assets/icon.svg?rev=983329)
 * [Document Gallery](https://wordpress.org/plugins/document-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/document-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/document-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/document-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/document-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/document-gallery/reviews/)

## Tags

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

 * 6 replies
 * 3 participants
 * Last reply from: [demur](https://wordpress.org/support/users/demur/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/thumbnails-have-different-width/#post-7022916)
 * Status: resolved