Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Dan Rossiter

    (@danrossiter)

    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. Thanks! πŸ™‚

    Plugin Author Dan Rossiter

    (@danrossiter)

    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. Thanks! πŸ™‚

    Plugin Author demur

    (@demur)

    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. Thanks!

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

The topic ‘Space between lines’ is closed to new replies.