XF 2.1 Making avatars smaller in Profile page

Kirby12

Member
Hi all.

I've got avatars at 125 x 125 px. However when I click on the full profile view (profile posts etc) they go a lot bigger and because of this they blur.

Is there a way to make them display at their actual sie (125x125) in the profile view, and not stretch them?

Thanks
 
Something like this in extra.less should do the trick:

Code:
.memberHeader
{
    .avatar.avatar--l
    {
        width: 125px;
        height: 125px;
    }
    .memberHeader-content
    {
        padding-left: 145px;
        @media (max-width: @xf-responsiveNarrow) { padding-left: 10px; }
    }
}
 
Back
Top Bottom