MyBB Community Forums

Full Version: Automatically scale down avatar in welcomeblock
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Ah okay, I've put Aries edit in place now if you want to refresh the page Smile
Yeah, that works a lot better. Now find:

<div id="userbox_panel">

And replace it with: (increase the 200px value if you want it even more distant from the avatar)

<div id="userbox_panel" style="margin-right: 200px">
(2011-06-13, 03:34 PM)faviouz Wrote: [ -> ]Yeah, that works a lot better. Now find:

<div id="userbox_panel">

And replace it with: (increase the 200px value if you want it even more distant from the avatar)

<div id="userbox_panel" style="margin-right: 200px">

Got it! That does look far better now Smile is there anyway to have the rounded-edge border things for the avatars?
Absolutely! Find:

<img src="{$mybb->user['avatar']}" alt="" style="height: 50px" />

Replace with:

<img src="{$mybb->user['avatar']}" alt="" style="height: 50px; border: 2px solid #fff; border-radius: 5px; -webkit-border-radius: 5px; -moz-border-radius: 5px;" />
(2011-06-13, 03:40 PM)faviouz Wrote: [ -> ]Absolutely! Find:

<img src="{$mybb->user['avatar']}" alt="" style="height: 50px" />

Replace with:

<img src="{$mybb->user['avatar']}" alt="" style="height: 50px; border: 2px solid #fff; border-radius: 5px; -webkit-border-radius: 5px; -moz-border-radius: 5px;" />

Great help faviouz thanks so much!
You're welcome! Smile
Pages: 1 2