The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

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

4 posters

Go down

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

Post by xDroiidx August 19th 2012, 10: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 August 23rd 2012, 1:25 am; edited 1 time in total
avatar
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 August 20th 2012, 10:34 pm

Bump
avatar
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 August 22nd 2012, 4:27 am

CSS code didnt work, and i want to resize everyone's avatar that they have currently, is that possible?
avatar
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 August 22nd 2012, 5:13 am

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
HyperActive
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 August 22nd 2012, 12:44 pm

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?
avatar
runawayhorses
Hyperactive

Male Posts : 2537
Reputation : 166
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 August 22nd 2012, 3:33 pm

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
avatar
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 August 22nd 2012, 3:43 pm

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;
}
Sanket
Sanket
ForumGuru

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

Back to top Go down

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

Post by xDroiidx August 23rd 2012, 1:23 am

Thanks Sanket! it worked
avatar
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