Support » Plugin: Participants Database » Thumbnail Sizing Issues

  • Resolved niutak

    (@niutak)


    On the previous version I had the main page thumbnails set at 100px and then when you opened up each participant’s profile I had these thumbnails set at 300px and it was prefect. Now it appears he pics on the individual pages are attached to the same css code as the thumbnails on the main page. So now I am stuck with the same size on both. 100 works on the main page but way too small on my individual pages. Why so many changes and issues with this version. Can this be changed and how do I do it? I’d like to get it back to 100px on the main page and 300px on the individual pages.

    http://wordpress.org/extend/plugins/participants-database/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author xnau webdesign

    (@xnau)

    niutak,

    I’m sorry about this…there ended up being some changes to the CSS that will be more helpful in the long run, but I knew it would change things for some people.

    What you need to do is add rules like this to your theme stylesheet:

    For the list:

    #content pdb.list .image-field-wrap img {
        height: 100px;
    }

    For the single record:

    #content .pdb-single .image-field-wrap img {
        height: 300px;
    }

    You see that what I did was make it so that the CSS class of the wrapper div is related to the shortcode that was used. The #content ID is needed to override the plugin stylesheet. The width will be ‘auto’ so you don’t have to set that. If your images end up distorted, then add “width:auto;” to each one so the width follows the height proportionally.

    Hope that gets you set up.

    niutak

    (@niutak)

    Great, I will forward to my designer and reply back as soon as she can try this out so I can let you know our results.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Thumbnail Sizing Issues’ is closed to new replies.