Support » Plugin: Document Gallery » Description below title

  • Resolved bluemi


    I’m afraid I don’t understand the example css file. I managed to get this far having the PDFs aligned horizontally, with the title below each.
    How can I now manage to have a short description (author name and year) below the title, without breaking the alignment?
    Would be most grateful for any hints. Thanks!

    • This topic was modified 2 years, 4 months ago by .
    • This topic was modified 2 years, 4 months ago by .
Viewing 6 replies - 1 through 6 (of 6 total)
  • Ok, I think I made it myself… For anyone who is interested, this is the css:

    .document-gallery .descriptions.document-icon-row {
    display: inline-block;
    width: 19%;
    min-width: 150px;
    margin: 35px 0 0;

    .document-gallery .descriptions.document-icon-row {
    vertical-align: top;
    text-align: center;

    .document-gallery .descriptions.document-icon-row img {
    max-width: 100%;
    border: solid 1px #999;

    .document-gallery .descriptions.document-icon-row a {
    font-size: 13px;
    line-height: 19px;

    .document-gallery .descriptions.document-icon-row p {
    font-size: 11px;
    line-height: 15px;

    .document-gallery .descriptions.document-icon-row .document-icon {
    float: none;
    max-width: 150px;
    position: relative;
    margin: 0 auto;

    • This reply was modified 2 years, 4 months ago by .
    Plugin Author Dan Rossiter


    Glad you got it sorted! 🙂


    Hey! Do you think you can help me apply this to my issue?

    I have added category page descriptions using WP editor, and for some reason, they are positioned above the category page title. I copied your CSS above, swapping out “.document-gallery .descriptions.document-icon-row .document-icon” for “.taxonomy-description”, and then deleted the bits that had no impact for my site.

    What I can’t figure out is how to position the description below the title, and have it centred. Any thoughts?


    Plugin Author demur


    Hi ashahmurat!

    We would be happy to help You.
    Can You provide a link to a gallery where this is occurring?
    Taking into account symptoms and that You have taxonomy-description class (which has nothing to do with Document Gallery plugin), seems Your WP has some plugin(s) that doesn’t properly match with DG.

    Thanks! Sorry for the late reply. Here’s the link:

    Let me know if you need any more details, thanks.

    Plugin Author demur


    Hi ashahmurat!

    I’ve looked over Your website through the length and breadth. And I have to say I couldn’t find a single trace of Document Gallery plugin. So it’s either not installed or at least not enabled.

    Please double check Your WordPress settings and if You run into any issues with DG feel free to ask, we would be happy to help You.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Description below title’ is closed to new replies.