Rob
Well-known member
In sidebar_visitor_panel template the following code exists:-
It should be possible to change the size to "s" but it seems the size is expressly set in
sidebar.css along with style property visitorPanelAvatar.
The avatar HTML image tag contains width and height attributes so there is no need to specify these in CSS and the CSS actually over-rides the html attributes.
It just seems strange to me that you cant change the size to "s" and not have it take effect. It seems weird also that sizes need to be specified in both css and html attributes on the image tag.
Code:
<xen:avatar user="$visitor" size="m" img="true" />
It should be possible to change the size to "s" but it seems the size is expressly set in
sidebar.css along with style property visitorPanelAvatar.
The avatar HTML image tag contains width and height attributes so there is no need to specify these in CSS and the CSS actually over-rides the html attributes.
It just seems strange to me that you cant change the size to "s" and not have it take effect. It seems weird also that sizes need to be specified in both css and html attributes on the image tag.