Title: Description padding and alignment
Last modified: August 31, 2016

---

# Description padding and alignment

 *  Resolved [pflefler](https://wordpress.org/support/users/pflefler/)
 * (@pflefler)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/description-padding-and-alignment/)
 * Love the plugin – relatively new user.
 * I am trying to adjust some of the description settings–assume that I need to 
   use customized CSS to do so–to align top of text with top (custom-sized 200x133px)
   of thumbnail and create left padding to the description text. See link.
 * Many thanks in advance.
 * – Pat
 * [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, 3 months ago](https://wordpress.org/support/topic/description-padding-and-alignment/#post-7144006)
 * Hi Pat,
 * You probably want something along these lines.
 *     ```
       .descriptions > .document-icon {
       	margin-top: none !important;
       	margin-right: 15px !important; /* pick whatever you like for this number */
       }
       ```
   
 * -Dan
 *  Thread Starter [pflefler](https://wordpress.org/support/users/pflefler/)
 * (@pflefler)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/description-padding-and-alignment/#post-7144010)
 * Thanks Dan – that works for the padding between the thumbnail and description.
   I’m still seeing the description top set higher than the thumbnail top. Anyway
   quick way to resolve that?
 * Many thanks for your quick response earlier.
    [](http://patrick-lefler.com/doc-gallery-test)
 *  Plugin Author [Dan Rossiter](https://wordpress.org/support/users/danrossiter/)
 * (@danrossiter)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/description-padding-and-alignment/#post-7144027)
 * Hi pflefler,
 * Your HTML has an extra `<br>` tag. I presume you’re using PHP filters to change
   the DG output? If so, you’ll want to remove that BR. Once that’s done, the two
   top of the image should align with the description.
 * -Dan
 *  Thread Starter [pflefler](https://wordpress.org/support/users/pflefler/)
 * (@pflefler)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/description-padding-and-alignment/#post-7144033)
 * Works perfect. Many thanks for your assistance.
 *  Thread Starter [pflefler](https://wordpress.org/support/users/pflefler/)
 * (@pflefler)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/description-padding-and-alignment/#post-7144034)
 * Resolved.
 *  Plugin Author [Dan Rossiter](https://wordpress.org/support/users/danrossiter/)
 * (@danrossiter)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/description-padding-and-alignment/#post-7144155)
 * Glad to be of service! 🙂
 * 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! 🙂

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

The topic ‘Description padding and alignment’ 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

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

 * 6 replies
 * 2 participants
 * Last reply from: [Dan Rossiter](https://wordpress.org/support/users/danrossiter/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/description-padding-and-alignment/#post-7144155)
 * Status: resolved