• Resolved justjd77

    (@justjd77)


    Hi there, thanks for your effort in creating this plug-in, it sounds like exactly what I need. I confess to be a CSS/WP newbie and just cannot manage to change the size of my displayed thumbnails to something larger.

    I’ve created a 500x500px custom tester thumbnail for one of the documents in my gallery, and copied and pasted the code below to the Custom CSS box and also changed the thumbnail size under Settings, but this larger tester thumbnail is still displayed the exact same as all the others. Any help would be greatly appreciated. The gallery is located at https://jdvanzyl.com/journalism/. On a sidenote, any pointers on how to get the documents/thumbnails to display as two columns rather than just one? Thanks a stack!

    div.document-icon img {
    max-width: 500px !important;
    max-height: 500px !important;
    }
    div.descriptions.document-icon img {
    max-width: 500px !important;
    max-height: 500px !important;
    }

    https://www.ads-software.com/plugins/document-gallery/

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

    (@danrossiter)

    Hi justjd77,

    You’re almost there. You want this:

    .document-icon-row .document-icon { max-width: 500px !important; }
    .document-icon img {
        width: 500px !important;
        height: 500px !important;
    }

    With multiple columns, it sounds like you’ve got descriptions enabled. If that’s the case, DG does not natively support multiple columns, however my colleague has posted a solution that allows you to bypass this limitation. We are working on adding support for multiple columns when descriptions are enabled, but that functionality isn’t quite ready for prime time! ??

    -Dan

Viewing 1 replies (of 1 total)
  • The topic ‘Struggling with thumbnail sizes (and columns)’ is closed to new replies.