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 resize the avatar's profile?

View previous topic View next topic Go down

Solved How resize the avatar's profile?

Post by David2011 on January 12th 2011, 1:23 am

How resize the avatar's profile?


Last edited by iorio on January 12th 2011, 8:33 am; edited 1 time in total

David2011
Forumember

Male Posts : 127
Reputation : 0
Language : Español - English
Location : Argentina

Back to top Go down

Solved Re: How resize the avatar's profile?

Post by panterua on January 12th 2011, 3:49 am

you are using phpbb2, it have little specification of class and ID. for now isn't possible resize avatar only, via css. you can make the resize in the same template, or adding a class or id in the template and then adding the rule (in the css stylesheet) for this. you know which is the template to edit the message profile? go to see it and edit it, find the avatar and add properties directly adding style ="propertieshere" or class="classnamehere"

if you do not understand or do not know how to do it, tell me and i'll clarify and better explain
greetings

panterua
Forumember

Male Posts : 90
Reputation : 110
Language : Spanish, English
Location : Uruguay

http://mudreadlocks.superforo.net/u8

Back to top Go down

Solved Re: How resize the avatar's profile?

Post by David2011 on January 12th 2011, 4:08 am

As Resize this template?
Code:
{postrow.displayed.POSTER_AVATAR}

David2011
Forumember

Male Posts : 127
Reputation : 0
Language : Español - English
Location : Argentina

Back to top Go down

Solved Re: How resize the avatar's profile?

Post by Guest on January 12th 2011, 8:13 am

Yes (:
replace it with
Code:
<div class="poster-avatar">{postrow.displayed.POSTER_AVATAR}</div>

In your CSS:
Code:
.poster-avatar {max-width: xxpx; max-height: xxpx;}

Guest
Guest


Back to top Go down

Solved Re: How resize the avatar's profile?

Post by David2011 on January 12th 2011, 8:23 am

It not does work, just move the image elsewhere.



David2011
Forumember

Male Posts : 127
Reputation : 0
Language : Español - English
Location : Argentina

Back to top Go down

Solved Re: How resize the avatar's profile?

Post by Guest on January 12th 2011, 8:29 am

try span then:
Code:
<span class="poster-avatar">{postrow.displayed.POSTER_AVATAR}</span>

Code:
.poster-avatar img{max-width: xxpx; max-height: xxpx;}

Guest
Guest


Back to top Go down

Solved Re: How resize the avatar's profile?

Post by David2011 on January 12th 2011, 8:33 am

Works fine, thanks!

David2011
Forumember

Male Posts : 127
Reputation : 0
Language : Español - English
Location : Argentina

Back to top Go down

Solved Re: How resize the avatar's profile?

Post by Guest on January 12th 2011, 8:37 am

Welcome (:
Solved + Locked

Guest
Guest


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