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 can I make every avatar to have the same size

View previous topic View next topic Go down

Solved How can I make every avatar to have the same size

Post by Paradise on April 19th 2014, 1:47 am

Avatar on post profiles are larger than the others. I want to make it uniform. All the avatars to have the same size and also to position it at the center

Paradise
Forumember

Male Posts : 90
Reputation : 1
Language : English

http://www9.forumotion.com

Back to top Go down

Solved Re: How can I make every avatar to have the same size

Post by Ange Tuteur on April 19th 2014, 3:41 am

Hello Paradise,

Please provide your forum version and / or forum address.

Thank you :rose:

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: How can I make every avatar to have the same size

Post by J0k3R^ on April 19th 2014, 7:07 am

i got this.
go templates → viewtopic_body
and find
Code:
{postrow.displayed.POSTER_AVATAR}

and make it
Code:
<center><span class="AvatarRes">{postrow.displayed.POSTER_AVATAR}</span></center>

now add atcss this:
Code:
.AvatarRes img{
width:100px !important;
height: 100px !important;
}

U can change the width and height from here, im using 148px for all avatars.
Hope this helped, its working fine on my forum (punbb).


Last edited by J0k3R^ on April 19th 2014, 11:09 am; edited 2 times in total

J0k3R^
Forumember

Male Posts : 742
Reputation : 28
Language : Greek > English > Russian > Spanish
Location : C:\>r00t

http://fmplanet.forumgreek.com

Back to top Go down

Solved Re: How can I make every avatar to have the same size

Post by Paradise on April 19th 2014, 10:58 am

@Ange Tuteur wrote:Hello Paradise,

Please provide your forum version and / or forum address.

Thank you :rose:

my forum version is punbb

I need to make it be in the center

Paradise
Forumember

Male Posts : 90
Reputation : 1
Language : English

http://www9.forumotion.com

Back to top Go down

Solved Re: How can I make every avatar to have the same size

Post by J0k3R^ on April 19th 2014, 11:02 am

didn't my code work?

J0k3R^
Forumember

Male Posts : 742
Reputation : 28
Language : Greek > English > Russian > Spanish
Location : C:\>r00t

http://fmplanet.forumgreek.com

Back to top Go down

Solved Re: How can I make every avatar to have the same size

Post by Paradise on April 19th 2014, 11:05 am

@J0k3R^ wrote:didn't my code work?

I have given it a same size all avatar with this code
Code:
.post_avatar img {
width: 100px;
height: 100px;
}
just need to position it at the center

Paradise
Forumember

Male Posts : 90
Reputation : 1
Language : English

http://www9.forumotion.com

Back to top Go down

Solved Re: How can I make every avatar to have the same size

Post by J0k3R^ on April 19th 2014, 11:10 am

@Paradise wrote:
@J0k3R^ wrote:didn't my code work?

I have given it a same size all avatar with this code
Code:
.post_avatar img {
width: 100px;
height: 100px;
}
just need to position it at the center

well, i edited my previous code. remove this u just told me and follow my steps plz Smile

J0k3R^
Forumember

Male Posts : 742
Reputation : 28
Language : Greek > English > Russian > Spanish
Location : C:\>r00t

http://fmplanet.forumgreek.com

Back to top Go down

Solved Re: How can I make every avatar to have the same size

Post by Paradise on April 19th 2014, 11:19 am

@J0k3R^ wrote:
@Paradise wrote:
@J0k3R^ wrote:didn't my code work?

I have given it a same size all avatar with this code
Code:
.post_avatar img {
width: 100px;
height: 100px;
}
just need to position it at the center

well, i edited my previous code. remove this u just told me and follow my steps plz Smile

Thanks you it worked

Paradise
Forumember

Male Posts : 90
Reputation : 1
Language : English

http://www9.forumotion.com

Back to top Go down

Solved Re: How can I make every avatar to have the same size

Post by Ange Tuteur on April 19th 2014, 6:09 pm

Topic solved and archived

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.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