Title: Title &#8211; Icon Align
Last modified: August 31, 2016

---

# Title – Icon Align

 *  Resolved [michelabozza](https://wordpress.org/support/users/michelabozza/)
 * (@michelabozza)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/title-icon-align/)
 * Hi! I really appreciate your plugin!
    Is it possible to have the icon on the 
   left and the title on the right, with center vertical-align? Thanks, Michela
 * [https://wordpress.org/plugins/document-gallery/](https://wordpress.org/plugins/document-gallery/)

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

 *  Plugin Author [Dan Rossiter](https://wordpress.org/support/users/danrossiter/)
 * (@danrossiter)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/title-icon-align/#post-7121072)
 * Hi Michela,
 * Can you show what you mean? I’m not sure I understand.
 * -Dan
 *  Thread Starter [michelabozza](https://wordpress.org/support/users/michelabozza/)
 * (@michelabozza)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/title-icon-align/#post-7121095)
 * Of course. I’d like to align the icon and the title like [here](http://www.iccolognaveneta.gov.it/convocazione-genitori-nuovi-iscritti-classe-prima-s-andrea/).
 *  Thread Starter [michelabozza](https://wordpress.org/support/users/michelabozza/)
 * (@michelabozza)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/title-icon-align/#post-7121204)
 * I wanna be clearer:
    I’d like to have the PDF icon or thumbnail on the left and
   the title of the document on its right. Is it possibile?
 *  Plugin Author [Dan Rossiter](https://wordpress.org/support/users/danrossiter/)
 * (@danrossiter)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/title-icon-align/#post-7121218)
 * Hi michelabozza,
 * It’s definitely possible. You’ll need to use custom CSS (under `Dashboard -> 
   Settings -> Document Gallery`).
 * If I have some free time this weekend, I’ll try to throw something together.
 * -Dan
 *  Plugin Author [Dan Rossiter](https://wordpress.org/support/users/danrossiter/)
 * (@danrossiter)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/title-icon-align/#post-7121223)
 * Hi michelabozza,
 * My colleague has come up with a solution that should meet your requirements:
 *     ```
       .document-icon {
           width: 100% !important;
       }
       .document-icon > a {
           display: table !important;
           table-layout: fixed;
           border: none !important;
       }
       .document-icon > a > img {
           display: table-cell !important;
           min-width: 89px;
           border: 2px solid transparent !important;
           border-radius: 5px;
       }
       .document-icon > a > span {
           display: table-cell !important;
           text-align: left !important;
           vertical-align: middle !important;
           padding-left: 5px;
           text-decoration: underline;
       }
       .document-icon > a:hover > img {
           border-color: #006a9b !important;
       }
       .document-icon > a:hover > span {
           text-decoration: none;
       }
       .document-icon-row.descriptions > .document-icon {
           max-width: none !important;
       }
       ```
   
 * This would work the same for `descriptions = false` and `true` except for descriptions
   themselves; to turn description field off (while descriptions true :D)
 *     ```
       .document-icon-row.descriptions > p {
           display: none;
       }
       ```
   
 * To make the code work only for descriptions true mode one should add `.descriptions
   > before each .document-icon`
 *  Thread Starter [michelabozza](https://wordpress.org/support/users/michelabozza/)
 * (@michelabozza)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/title-icon-align/#post-7121224)
 * Thank you for your help, it works!
 *  Plugin Author [Dan Rossiter](https://wordpress.org/support/users/danrossiter/)
 * (@danrossiter)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/title-icon-align/#post-7121225)
 * Glad to be of service! 🙂
 * -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! 🙂

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

The topic ‘Title – Icon Align’ 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/)

 * 7 replies
 * 2 participants
 * Last reply from: [Dan Rossiter](https://wordpress.org/support/users/danrossiter/)
 * Last activity: [10 years, 5 months ago](https://wordpress.org/support/topic/title-icon-align/#post-7121225)
 * Status: resolved