XF 1.2 sidebar visitorPanel Avatar how to resize

TsinJu

Well-known member
I am wondering how to change the Size of the Sidebar Visitorßs Avatar.
I wanted to change it via CSS, butr all i found is

.sidebar .visitorPanel .avatar
{
@property "visitorPanelAvatar";
margin-right: 5px;
float: left;
@property "/visitorPanelAvatar";

width: auto;
height: auto;
}

.sidebar .visitorPanel .avatar img
{
width: @visitorPanelAvatar.width;
height: @visitorPanelAvatar.height;
}

It looks like the Size is controlled with
<xen:avatar user="$visitor" size="m" img="true" />

s is to small, for what i need it..... is there a way to change the Avatar Size via Style Properties?
Or do i need it in Extra.css with ".sidebar .visitorPanel .avatar img"?
Thanks
 
you can set in styles properties> general> avatar >
Miscellaneous - width and Height.

or in extra.css

.sidebar .visitorPanel .avatar img{width:50px; height:50px;}

if it does not work add !important

.sidebar .visitorPanel .avatar img{width:50px!important; height:50px!important;}
 
Back
Top Bottom