• Page 1 of 1
  • 1
Forum moderator: bigblog  
uCoz Community » For Webmasters » Custom Solutions » How can I change $_AVATAR$
How can I change $_AVATAR$
blizar10
Posts: 96
Reputation: 0

Message # 1 | 3:56 AM
Hi !
I need help!

I want to change the height and the width to $_AVATAR$ on the profil page of my users

can you help me?

http://etig10.ucoz.com/index/8-14
Paradox
Old Guard
Posts: 3284
Reputation: 145

Message # 2 | 10:51 AM
blizar10, if you're wanting to adjust the height/width of the image outputted by $_AVATAR$ use this in the template HTML:

Code
<span class="userAvatarResize">$_AVATAR$</span>


And this in the CSS (change out the values to what you want them to be, for example, 400px):

Code
span.userAvatarResize {
     height:HEIGHT;
     width:WIDTH;
}


Hope this helps! happy

Jack of all trades in development, design, strategy.
Working as a Support Engineer.
Been here for 13 years and counting.
blizar10
Posts: 96
Reputation: 0

Message # 3 | 7:09 PM
Quote Paradox ()
Hope this helps! happy


It doesn't work sad

I think the $_AVATAR$ is not modificable with the css...
joexyz
JOE-vascript
Posts: 1770
Reputation: 78

Message # 4 | 7:49 PM
blizar10, it's possible, but Paradox wrote down a wrong CSS code biggrin

Here is the correct one:
Code
span.userAvatarResize img {  
      height:HEIGHT;  
      width:WIDTH;  
}

hey i'm joe and i do not work for the company anymore, please contact other staff or tech support
icon by ch-chau

sometimes i lurk here
blizar10
Posts: 96
Reputation: 0

Message # 5 | 10:32 PM
Thank you biggrin

It works perfectly !!
uCoz Community » For Webmasters » Custom Solutions » How can I change $_AVATAR$
  • Page 1 of 1
  • 1
Search: