MyBB Community Forums

Full Version: Avatar in header
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
This is part of my header, where it shows your details:
[Image: 1as48eh.png]

For some reason, it only shows the top left of my avatar (the full one is the one you can see on this forum). What do I do?

The theme is 'The Cure' by Audentio.
Go to Templates & Style > Templates > The Cure > Header > header_welcomeblock_member

Find:
<div style="background: transparent url({$mybb->user['avatar']}) 0 0 no-repeat;width:68px;height:68px;float:left"></div>

Replace with:
<div style="background: transparent url({$mybb->user['avatar']}) 0 0 no-repeat;background-size:68px 68px;width:68px;height:68px;float:left"></div>

That should work!
(2013-01-20, 03:10 AM)Tigierz Wrote: [ -> ]Go to Templates & Style > Templates > The Cure > Header > header_welcomeblock_member

Find:
<div style="background: transparent url({$mybb->user['avatar']}) 0 0 no-repeat;width:68px;height:68px;float:left"></div>

Replace with:
<div style="background: transparent url({$mybb->user['avatar']}) 0 0 no-repeat;background-size:68px 68px;width:68px;height:68px;float:left"></div>

That should work!
It worked! Thankyou so much! Repped Smile