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 19 Aug 2012 - 22:32

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 Thu 23 Aug 2012 - 1:25; edited 1 time in total
avatar
xDroiidx
Forumember

Posts : 95
Reputation : 2
Language : English

View user profile 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 20 Aug 2012 - 22:34

Bump
avatar
xDroiidx
Forumember

Posts : 95
Reputation : 2
Language : English

View user profile 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 Wed 22 Aug 2012 - 4:27

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

View user profile 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 Wed 22 Aug 2012 - 5:13

@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

View user profile 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 22 Aug 2012 - 12:44

@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

View user profile 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 22 Aug 2012 - 15:33

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

View user profile 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 22 Aug 2012 - 15:43

@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

View user profile

Back to top Go down

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

Post by xDroiidx on Thu 23 Aug 2012 - 1:23

Thanks Sanket! it worked
avatar
xDroiidx
Forumember

Posts : 95
Reputation : 2
Language : English

View user profile 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