Why no matter what size is the avatar set to, or the default resize for uploaded avatars, in all the blocks/bars/apps (ShoutBox,Latest Topics,articles,etc etc..) it show a white frame around the avatars, like if there is no avatar that can fit the size.
Any idea of this? I don't like the fact it creates this white frame on all the avatars.. . And in posts view it display just fine, so it's only TP and not SMF.
I don't see a white frame around any of the avatars. Are you seeing this in a certain browser or something? Can you posted a screen shot of the problem you see?
I can see it in IE8, Firefox, and Chrome. There's a 1px padding around the avatars in the shoutbox..
I quite llike the white border myself. ;)
Oh I was looking for something larger I guess.
That's from this section of CSS in the tp-style.css file:
/* avatar styles */
span.tpavatar
{
float: left;
margin-right: 1em;
border: solid 1px #aaa;
padding: 1px;
background: white;
display: block;
overflow: auto;
}
Lol, i'm talking about my forums, not this ones. Avatars looks fine here.
If is that file "tp-style.css " i gotta tell my friend to change, thanks. :P
Link: http://www.BlizzForge.com
Try messing with this in the TPShout.css file on your site.
.tp_shoutavatar .avy2 img {
width: 30px;
max-height: 100%;
margin: 0 6px 0 0;
float: left;
background: white;
border: solid 1px #AAA;
padding: 1px;
}