How To Put A Limit Size In Avatar using CSS CODE?
3 posters
Page 1 of 1
How To Put A Limit Size In Avatar using CSS CODE?
How To Put A Limit Size In Avatar using CSS CODE?
Forum version: PunBB
Thanks in advance and god bless!
Forum version: PunBB
Thanks in advance and god bless!
Yoshi156- Forumember
- Posts : 231
Reputation : 0
Language : english
Re: How To Put A Limit Size In Avatar using CSS CODE?
Hi,
Go to
Templates >> General >> viewtopic_body and find
Than add this to CSS.
Go to
Templates >> General >> viewtopic_body and find
- Code:
{postrow.displayed.POSTER_AVATAR}
- Code:
<div class="avic">{postrow.displayed.POSTER_AVATAR}</div>
Than add this to CSS.
- Code:
.avic img {
overflow: hidden;
width: 100px;
height: 100px;}
Nera.- Energetic
- Posts : 7078
Reputation : 2017
Language : English
Location : -
Re: How To Put A Limit Size In Avatar using CSS CODE?
Thanks, but the image upload been stretch.
Yoshi156- Forumember
- Posts : 231
Reputation : 0
Language : english
Re: How To Put A Limit Size In Avatar using CSS CODE?
How do you mean? You can change the pixels.
You can make it like this AP >> Display >> Avatar gallery >> Personal avatars, make it 100X100
You can make it like this AP >> Display >> Avatar gallery >> Personal avatars, make it 100X100
Nera.- Energetic
- Posts : 7078
Reputation : 2017
Language : English
Location : -
Re: How To Put A Limit Size In Avatar using CSS CODE?
Is there a way using CSS CODE? like limit size signature using css code?
Yoshi156- Forumember
- Posts : 231
Reputation : 0
Language : english
Re: How To Put A Limit Size In Avatar using CSS CODE?
It is the same CSS code I gave you, only this one is for avatars, same like the signature. If you don't like it, wait for someone else to give you a new one.
Nera.- Energetic
- Posts : 7078
Reputation : 2017
Language : English
Location : -
Re: How To Put A Limit Size In Avatar using CSS CODE?
Not by adding or replacing any codes in template sir/ma'am only css code.
Yoshi156- Forumember
- Posts : 231
Reputation : 0
Language : english
Re: How To Put A Limit Size In Avatar using CSS CODE?
Nera gave the code already:
.avic img {
overflow: hidden;
width: 100px;
height: 100px;}
.avic img {
overflow: hidden;
width: 100px;
height: 100px;}
Re: How To Put A Limit Size In Avatar using CSS CODE?
That one slg wont work without template changes cause it needs a class.
You can try this one Yoshi.
Replace XY
You can try this one Yoshi.
Replace XY
- Code:
.pun .user-ident .user-basic-info img {
width: xypx;
height: xypx;
}
Nera.- Energetic
- Posts : 7078
Reputation : 2017
Language : English
Location : -
Re: How To Put A Limit Size In Avatar using CSS CODE?
Sorry nera, but still it's not working.
Yoshi156- Forumember
- Posts : 231
Reputation : 0
Language : english
Re: How To Put A Limit Size In Avatar using CSS CODE?
It's OK though I tried both on punBB and both work, limit the avatar 100x100. Though I'm talking about avatar in posts.
Exp., punBB.
http://i.imm.io/7E8T.png
But as said before, wait for someone else.
Sorry for not beeing able to help
Exp., punBB.
http://i.imm.io/7E8T.png
But as said before, wait for someone else.
Sorry for not beeing able to help
Nera.- Energetic
- Posts : 7078
Reputation : 2017
Language : English
Location : -
Re: How To Put A Limit Size In Avatar using CSS CODE?
Only user rank been resized not the avatar.
Yoshi156- Forumember
- Posts : 231
Reputation : 0
Language : english
Re: How To Put A Limit Size In Avatar using CSS CODE?
Try this
The way through templates is pretty easy, why to complicate it?
That's about it on this topic, sorry for not beeing able to help
- Code:
.user-basic-info a img {
max-width: 50px;
}
The way through templates is pretty easy, why to complicate it?
That's about it on this topic, sorry for not beeing able to help
Nera.- Energetic
- Posts : 7078
Reputation : 2017
Language : English
Location : -
Similar topics
» Avatar Size Limit & Default Font Size
» Avatar size limit
» Avatar size limit
» Avatar size limit?
» Set Limit for the Size of Avatar & Signature
» Avatar size limit
» Avatar size limit
» Avatar size limit?
» Set Limit for the Size of Avatar & Signature
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum