Announcement

Collapse
No announcement yet.

How to change class="fixed_width_avatar" properties?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Phantasmagoric
    replied
    Does anyone else have any ideas on what might be causing this problem, it's also present in the default skin we get shipped out to us in the Members area as you can see here:

    Click image for larger version

Name:	thumbbug.jpg
Views:	1
Size:	37.4 KB
ID:	3672447

    I'd really like to be able to get this sorted out as it spoils dark skins having this glaring white behind thumbnails. It's a bit odd that the version of the default skin at this very site is different to the one we end up getting.

    Leave a comment:


  • Phantasmagoric
    replied
    Isn't that strange, there is no white background in your profile, and the class is the same, barring colour specifics.
    I have this in the source:
    Code:
    .alt2, .alt2Active {member.php?u=1 (line 156)
    background:#000000 url(images/skins/the_borg/misc/alt2.jpg) repeat scroll 0 0;
    border-color:#282828 #353535 #404040 #282828;
    border-style:solid;
    border-width:1px;
    color:#00F300;
    }
    The alt2.jpg is a gradient black graphic, yet still the white persists, this is most baffling!

    Leave a comment:


  • Jake Bunce
    replied
    Oh. Yes. Avatars are thumbnailed for use on the profile pages. But that does not appear to lose the transparency. My avatar has transparency and look at the thumbnail:

    http://www.vbulletin.com/forum/member.php?u=2026

    The background color behind it appears to be coming from the alt2 class still.

    Leave a comment:


  • Phantasmagoric
    replied
    Thanks for your reply Jake, alas that changes nothing, I believe the problem is in that the avatar is being resized, I am guessing perhaps by javascript some where. The same thing is happening in the thumbnails of attachments, the same white background.

    Is it possible to over-ride the background colour if it is being introduced via javascript?

    If so, how could I go about doing so?

    Leave a comment:


  • Jake Bunce
    replied
    From memberinfo_visitormessage, I see a class="alt2 avatar" for the img tag itself:

    Code:
    <li id="vmessage$message[vmid]" class="floatcontainer">
    <if condition="$message['avatarurl']">
    	<div class="fixed_width_avatar">
    		<if condition="$message['postuserid']"><a href="member.php?$session[sessionurl]u=$message[postuserid]"></if><img src="$message[avatarurl]" [color=red]class="alt2 avatar"[/color]<if condition="$message['avatarwidth']"> width="$message[avatarwidth]"</if><if condition="$message['avatarheight']"> height="$message[avatarheight]"</if> border="0" alt="$message[username]" /><if condition="$message['postuserid']"></a></if>
    	</div>
    	<div class="visitor_message_avatar_margin">
    </if>
    Try modifying the alt2 class in the CSS. Or try removing that class reference.

    Leave a comment:


  • How to change class="fixed_width_avatar" properties?

    I'm trying to remove the white background from the class="fixed_width_avatar" but nothing I try works.

    Does anyone know how to remove the white background from that class?

    If you refer to the attached image you'll see what I mean,
    Click image for larger version

Name:	avback.gif
Views:	1
Size:	41.1 KB
ID:	3708667
    the white background is really ruining the look of the Skin I am working on. That avatar is a transparent background .png, I figured I should be making changes in the memberinfo_css template, I've tried this:
    Code:
    div.fixed_width_avatar {
        text-align:center;
        width:60px;
            background-color:transparent;
    }
    but the transparent background is being countered by something and I can't track it down.
    I've even tried adding this to the additional css:
    Code:
    .fixed_width_avatar {background-color:transparent !important;}
    but still no change, anyone got any ideas please?

Related Topics

Collapse

Working...
X