The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

How do i resize everyone's Avatar to 120px by 120px ?

Go down

Solved How do i resize everyone's Avatar to 120px by 120px ?

Post by xDroiidx on Sun Aug 19, 2012 4:32 pm

Hello Hello ,

I want to resize all of my member's avatar's to 120px width by 120px height, can someone please supply the code?


Last edited by xDroiidx on Wed Aug 22, 2012 7:25 pm; edited 1 time in total

xDroiidx
Forumember

Posts : 95
Reputation : 2
Language : English

http://www.epicstep.forumotion.com

Back to top Go down

Solved Re: How do i resize everyone's Avatar to 120px by 120px ?

Post by xDroiidx on Mon Aug 20, 2012 4:34 pm

Bump

xDroiidx
Forumember

Posts : 95
Reputation : 2
Language : English

http://www.epicstep.forumotion.com

Back to top Go down

Solved Re: How do i resize everyone's Avatar to 120px by 120px ?

Post by xDroiidx on Tue Aug 21, 2012 10:27 pm

CSS code didnt work, and i want to resize everyone's avatar that they have currently, is that possible?

xDroiidx
Forumember

Posts : 95
Reputation : 2
Language : English

http://www.epicstep.forumotion.com

Back to top Go down

Solved Re: How do i resize everyone's Avatar to 120px by 120px ?

Post by HyperActive on Tue Aug 21, 2012 11:13 pm

@xDroiidx wrote:CSS code didnt work, and i want to resize everyone's avatar that they have currently, is that possible?


Code:
a[href^="/u"] {
max-height: 120px;
max-width: 120px;
}



Did you put in u# ? For example, im guessing you are founder, so your ID would be u1. Just enter the member's ID number
avatar
HyperActive
Forumember

Male Posts : 374
Reputation : 10
Language : English
Location : Virginia

http://forumpeak.com/

Back to top Go down

Solved Re: How do i resize everyone's Avatar to 120px by 120px ?

Post by runawayhorses on Wed Aug 22, 2012 6:44 am

@HyperActive wrote:Did you put in u# ? For example, im guessing you are founder, so your ID would be u1. Just enter the member's ID number
Would you expect them to write every single members number they have and future members they will get into the stylesheet?

runawayhorses
Hyperactive

Male Posts : 2537
Reputation : 164
Language : English
Location : United States

http://runawayhorses.alldiscussion.net/

Back to top Go down

Solved Re: How do i resize everyone's Avatar to 120px by 120px ?

Post by xDroiidx on Wed Aug 22, 2012 9:33 am

LOL^, and back on topic, the code didnt work, i looked at everyones avattar after i applied the CSS and their avatars were still bigger than mine, mine is 120px by 120px

xDroiidx
Forumember

Posts : 95
Reputation : 2
Language : English

http://www.epicstep.forumotion.com

Back to top Go down

Solved Re: How do i resize everyone's Avatar to 120px by 120px ?

Post by Sanket on Wed Aug 22, 2012 9:43 am

@BimbasVG wrote:Sanket can you make me code for PunBB, this dont work. tnx
Administration Panel> Display>Templates>viewtopic_body

Change this:

Code:
{postrow.displayed.POSTER_AVATAR}

With this:

Code:
<span class="res">{postrow.displayed.POSTER_AVATAR}</span>

Save and then Publish the templates.

Than add this to CSS.
Code:
.res img{
width:120px !important;
height: 120px !important;
}
avatar
Sanket
ForumGuru

Male Posts : 48766
Reputation : 2828
Language : English
Location : Mumbai

http://webartzforum.com

Back to top Go down

Solved Re: How do i resize everyone's Avatar to 120px by 120px ?

Post by xDroiidx on Wed Aug 22, 2012 7:23 pm

Thanks Sanket! it worked

xDroiidx
Forumember

Posts : 95
Reputation : 2
Language : English

http://www.epicstep.forumotion.com

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum