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 ?

View previous topic View next topic Go down

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

Post by xDroiidx on 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

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 August 20th 2012, 10: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 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?

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 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
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 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?

runawayhorses
Hyperactive

Male Posts : 2537
Reputation : 162
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 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

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 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
ForumGuru

Male Posts : 48766
Reputation : 2819
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 August 23rd 2012, 1:23 am

Thanks Sanket! it worked

xDroiidx
Forumember

Posts : 95
Reputation : 2
Language : English

http://www.epicstep.forumotion.com

Back to top Go down

View previous topic View next topic Back to top


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