• The avatars on the page in question used to display squared avatars but after updating the plugin they display the entire photos. How do I set them to be squared again?

    Currently I’m using this shortcode:

    [authoravatars avatar_size=129 order=date_registered show_name=true roles=administrator,editor]

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Paul Bearne

    (@pbearne)

    try adding
    .shortcode-author-avatars div.author-list .user .avatar img{
    height:129px:
    }

    your theme is setting the height to auto;

    Paul

    Thread Starter calango84

    (@calango84)

    Thanks for the quick reply. It doesn’t seem to work though.
    Just a thought, would it be possible for the plugin to pull thumbnails instead of the original picture? For instance, WordPress creates a thumbnail that is 150×150 px. That size would make more sense in this context.

    Thread Starter calango84

    (@calango84)

    I don’t know why this post was marked as resolved as my issue remains unsolved.

    Plugin Author Paul Bearne

    (@pbearne)

    We use the build-in get_avatar function your theme/plugin is overloading the thumbnail

    The CSS should force it to be square

    Thread Starter calango84

    (@calango84)

    I see. In the source code the height of the images are actually set to 129px, so I guess the CSS is working like it should. Where do you see that the theme is setting height to auto? Which class is overruling the CSS?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Shortcode for avatar height?’ is closed to new replies.