TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,965
  • Latest: boruko
Stats
  • Total Posts: 195,982
  • Total Topics: 21,320
  • Online today: 431
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online

Avatar Frame

Started by kent[ka], November 08, 2011, 12:08:40 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

kent[ka]

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.

IchBin

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?

lurkalot

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. ;)

IchBin

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;
}

kent[ka]

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

IchBin

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;
}

This website is proudly hosted on Crocweb Cloud Website Hosting.