Hey, I need help with making the place where a user appears on a post look better. The avatar, image, user title on my forum is all out of place to me. Is there a way to put a border around this?
My forum is at
www.talkcode.net
Everything looks fine to me using Google Chrome, what browser are you using to view your site?
I'm using Firefox. It might look fine, but I want it a little more organized.
Honestly, to me it looks just like any normal MyBB forum, very organized. How much more organized do you want?
(2010-12-20, 01:07 AM)UndiscoveredTalent Wrote: [ -> ]Honestly, to me it looks just like any normal MyBB forum, very organized. How much more organized do you want?
Would there be a way to put a border around the avatar?
<!-- start: postbit_avatar -->
<a href="user-155.html"><img src="./uploads/avatars/avatar_155.jpg?dateline=1292752477" alt="" width="70" height="70" /></a>
<!-- end: postbit_avatar -->
That is just from your source. Find something similiar in your template files and add something like:
<div style="width:80px;height:80px;border:1px solid blue;"></div>
to it.
(2010-12-20, 01:15 AM)UndiscoveredTalent Wrote: [ -> ]<!-- start: postbit_avatar -->
<a href="user-155.html"><img src="./uploads/avatars/avatar_155.jpg?dateline=1292752477" alt="" width="70" height="70" /></a>
<!-- end: postbit_avatar -->
That is just from your source. Find something similiar in your template files and add something like:
<div style="width:80px;height:80px;border:1px solid blue;"></div>
to it.
Will it be in the postbit templates?
Ok, I think I found the correct template.
The postbit_avatar
and the code in there is
<a href="{$post['profilelink_plain']}"><img src="{$post['avatar']}" alt="" {$avatar_width_height} /></a>
How do I add your border to this? and can I add a color code instead of blue?
<a href="{$post['profilelink_plain']}"><img src="{$post['avatar']}" alt="" {$avatar_width_height} /></a>
would become
<a href="{$post['profilelink_plain']}"><div style="width:80px;height:80px;border:1px solid whatevercolouryouwant;"><img src="{$post['avatar']}"</div> alt="" {$avatar_width_height} /></a>
I think that's right.