Page 1 of 11
Forum moderator: bigblog 
uCoz Community » For Webmasters » Custom Solutions » How can I change $_AVATAR$
How can I change $_AVATAR$
blizar10
Posts: 83
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
Posts: 3276
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

Developer, Designer, Communicator.
Been here for 6 years and counting.
Visit me at alexmoloney.me.
blizar10
Posts: 83
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...
bigblog
*boops*
Posts: 1472
Reputation: 71

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, please don't call me on my real name because you're gonna misspell or mispronounce it and it drives me nuts
blizar10
Posts: 83
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 11
Search: