WordPress.org

Support

Support » Themes and Templates » [Resolved] Short gravatar question

[Resolved] Short gravatar question

  • ThorHammer

    @thorhammer

    Hello, I am using this to get the users gravatar:
    <?php print $post->user_avatar; ?>
    I have wrapped this inside a style forcing the gravatar to be resized to height and width 50px, the width is OK, but the gravatars image won’t downscale to 50 px. Why?
    Here is the css I used to wrap the gravatar:

    .lentryavatar {
    width:50px;
    height:50px;
    background-color:#ffffff;
    float:left;
    padding-bottom:35px;
    
    }

    Any suggestions?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] Short gravatar question’ is closed to new replies.
Skip to toolbar