Title: Shortcode for avatar height?
Last modified: June 4, 2021

---

# Shortcode for avatar height?

 *  [calango84](https://wordpress.org/support/users/calango84/)
 * (@calango84)
 * [5 years ago](https://wordpress.org/support/topic/shortcode-for-avatar-height/)
 * 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](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fshortcode-for-avatar-height%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Paul Bearne](https://wordpress.org/support/users/pbearne/)
 * (@pbearne)
 * [5 years ago](https://wordpress.org/support/topic/shortcode-for-avatar-height/#post-14520991)
 * 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](https://wordpress.org/support/users/calango84/)
 * (@calango84)
 * [5 years ago](https://wordpress.org/support/topic/shortcode-for-avatar-height/#post-14523374)
 * 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](https://wordpress.org/support/users/calango84/)
 * (@calango84)
 * [5 years ago](https://wordpress.org/support/topic/shortcode-for-avatar-height/#post-14536899)
 * I don’t know why this post was marked as resolved as my issue remains unsolved.
 *  Plugin Author [Paul Bearne](https://wordpress.org/support/users/pbearne/)
 * (@pbearne)
 * [5 years ago](https://wordpress.org/support/topic/shortcode-for-avatar-height/#post-14537705)
 * 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](https://wordpress.org/support/users/calango84/)
 * (@calango84)
 * [5 years ago](https://wordpress.org/support/topic/shortcode-for-avatar-height/#post-14542401)
 * 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.

 * ![](https://ps.w.org/author-avatars/assets/icon-256x256.png?rev=973937)
 * [Author Avatars List/Block](https://wordpress.org/plugins/author-avatars/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/author-avatars/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/author-avatars/)
 * [Active Topics](https://wordpress.org/support/plugin/author-avatars/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/author-avatars/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/author-avatars/reviews/)

## Tags

 * [height](https://wordpress.org/support/topic-tag/height/)
 * [size](https://wordpress.org/support/topic-tag/size/)

 * 5 replies
 * 2 participants
 * Last reply from: [calango84](https://wordpress.org/support/users/calango84/)
 * Last activity: [5 years ago](https://wordpress.org/support/topic/shortcode-for-avatar-height/#post-14542401)
 * Status: not resolved