Title: Space between lines
Last modified: August 22, 2016

---

# Space between lines

 *  Resolved [ImportantlyErnest](https://wordpress.org/support/users/importantlyernest/)
 * (@importantlyernest)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/space-between-lines-4/)
 * Hi there
 * Awesome plugin! 🙂
 * 1. How can I increase the space between the lines on a gallery so that the title
   of the file is closer to the actual file rather than halfway between both lines?
 * site is circloid.com/testy
 * Thanks
 * John
 * [https://wordpress.org/plugins/document-gallery/](https://wordpress.org/plugins/document-gallery/)

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

 *  Plugin Author [Dan Rossiter](https://wordpress.org/support/users/danrossiter/)
 * (@danrossiter)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/space-between-lines-4/#post-5696573)
 * Hi John,
 * I would do something like this (in the custom CSS box located at Dashboard ->
   Settings -> Document Gallery):
 *     ```
       div.document-icon-wrapper{
           margin-bottom: 50px !important
       }
       div.document-icon-wrapper:last, div.descriptions.document-icon-wrapper {
           margin-bottom: auto !important;
       }
       ```
   
 * ^ That creates an extra 50 pixels of empty space below each row only when descriptions
   are not being included. You can obviously play with the 50px to get something
   you like.
 * PS: If you’ve found this plugin useful, please take a moment to [rate it](http://wordpress.org/support/view/plugin-reviews/document-gallery#postform).
   Thanks! 🙂
 *  Plugin Author [Dan Rossiter](https://wordpress.org/support/users/danrossiter/)
 * (@danrossiter)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/space-between-lines-4/#post-5696575)
 * Sorry. Typo in the above CSS. Should be:
 *     ```
       div.document-icon-wrapper{
           margin-bottom: 50px !important
       }
       div.document-icon-wrapper:last-child, div.descriptions.document-icon-wrapper {
           margin-bottom: auto !important;
       }
       ```
   
 * PS: If you’ve found this plugin useful, please take a moment to [rate it](http://wordpress.org/support/view/plugin-reviews/document-gallery#postform).
   Thanks! 🙂
 *  Plugin Author [demur](https://wordpress.org/support/users/demur/)
 * (@demur)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/space-between-lines-4/#post-5696577)
 * Sorry for prying into 😉
    Yet another approach:
 *     ```
       div.document-icon a + br {
           display: none;
       }
       div.document-icon img {
           display: block;
           margin: 0 auto 5px;/*The last value defines distance between thumbnail and its caption*/
       }
       div.document-icon {
           margin-bottom: 10px !important;/*Defines distance between caption and thumbnail in next row*/
           line-height: 16px !important;/*Defines line spacing for multiline captions*/
       }
       ```
   
 * PS: If You’ve found our answers useful, please [rate our efforts](http://wordpress.org/support/view/plugin-reviews/document-gallery#postform).
   Thanks!

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

The topic ‘Space between lines’ 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/)

 * 3 replies
 * 3 participants
 * Last reply from: [demur](https://wordpress.org/support/users/demur/)
 * Last activity: [11 years, 7 months ago](https://wordpress.org/support/topic/space-between-lines-4/#post-5696577)
 * Status: resolved