![]() |
Can you change the avatar size on only memberlist?
So, I have large avatars (200x200), but I want to reduce the size on the memberlist.php page. Any suggestions on how I can do this?
|
what is you vB version?
|
3.8.7 is the version that I'm running on the site that I want to adjust.
|
You may be able to write some CSS to do it. Have you tried that? Something like .alt1 img {width: 200px;} (change depending on if it is alt1 or alt2)
|
Thanks Lynne, I'm not a CSS expert by any stretch. But, I'll research it and try that a little later today.
That wouldn't conflict with any other images on the site, right? (Album pictures, img tags, etc) |
It might. So you may need to be more specific in your CSS definition, or only add the CSS to that page.
|
in memberlist_resultsbit template find:
Code:
<img src="$avatarurl" border="0" $avwidth $avheight alt="<phrase 1="$userinfo[username]">$vbphrase[xs_avatar]</phrase>" hspace="4" vspace="4" /> Code:
<img src="$avatarurl" border="0" width="50" height="50" alt="<phrase 1="$userinfo[username]">$vbphrase[xs_avatar]</phrase>" hspace="4" vspace="4" /> Regards |
Thank you bela-meaad! :up:
Worked perfectly :) |
All times are GMT. The time now is 08:08 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|