MyBB Community Forums

Full Version: Is there a way to add frames to user avatars?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I want my users to have framed avatars. Is it possible? Which css to look in?
You could try this: http://community.mybb.com/thread-63279.h...ed+avatars

Hope that helps Smile
Add a class to your global.css. Example:

.postbit_avatar {
        border:1px solid #000;
        padding:4px;
        box-shadow:4px 2px 4px #141414;
}

Then go to Post Bit Templates -> postbit_avatar and replace it with:
<a href="{$post['profilelink_plain']}"><img class="postbit_avatar" src="{$post['avatar']}" alt="" {$avatar_width_height} /></a>

(Added the class to the img tag, as you can see above).

Edit the CSS as necessary to suit your theme.
(2012-11-10, 05:25 AM)Tecca Wrote: [ -> ]Add a class to your global.css. Example:

.postbit_avatar {
        border:1px solid #000;
        padding:4px;
        box-shadow:4px 2px 4px #141414;
}

Then go to Post Bit Templates -> postbit_avatar and replace it with:
<a href="{$post['profilelink_plain']}"><img class="postbit_avatar" src="{$post['avatar']}" alt="" {$avatar_width_height} /></a>

(Added the class to the img tag, as you can see above).

Edit the CSS as necessary to suit your theme.

Thank you, it helped

What about stling the Group image?
Can i resize, or set fixed group image size? ( my group images are 200x66)