The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
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?
|
#2
|
|||
|
|||
what is you vB version?
|
#3
|
||||
|
||||
3.8.7 is the version that I'm running on the site that I want to adjust.
|
#4
|
||||
|
||||
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)
|
#5
|
||||
|
||||
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) |
#6
|
||||
|
||||
It might. So you may need to be more specific in your CSS definition, or only add the CSS to that page.
|
#7
|
|||
|
|||
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 |
#8
|
||||
|
||||
Thank you bela-meaad! :up:
Worked perfectly |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|