MyBB Community Forums

Full Version: Ficons not aligned.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
This isn't such a big deal but i'd like to get it fixed, all the ficons are not aligned, but they are only aligned to the category, like this:
[Image: 1MMeW]
[Image: 1MMf8]
[Image: 1MMfk]

So yeah, i want them to get fixed, my forum is: http://skidlet.org
If you need any template or anything please tell me.
In template sets, go to Forum Bit Templates >> forumbit_depth2_forum.
This is where the table for the forum structure is.
You should see something similar to this:

<tr>
<td class="{$bgcolor}" align="left"><img src="images/forumimage.png" /></td>
<td class="{$bgcolor}">
<a href="{$forum_url}">{$forum['name']}</a>{$forum_viewers_text}<div>{$forum['description']}{$modlist}{$subforums}</div>
</td>

All you have to do is declare a width for the cell which contains your image(s) for the forums.
Add
width="48"
to the td. Your images are 48x48 right?
(2013-01-13, 02:44 PM)eldred Wrote: [ -> ]In template sets, go to Forum Bit Templates >> forumbit_depth2_forum.
This is where the table for the forum structure is.
You should see something similar to this:

<tr>
<td class="{$bgcolor}" align="left"><img src="images/forumimage.png" /></td>
<td class="{$bgcolor}">
<a href="{$forum_url}">{$forum['name']}</a>{$forum_viewers_text}<div>{$forum['description']}{$modlist}{$subforums}</div>
</td>

All you have to do is declare a width for the cell which contains your image(s) for the forums.
Add
width="48"
to the td. Your images are 48x48 right?
Isn't really working.. When i put this code:
<tr>


<td class="{$bgcolor}" align="center" valign="top" ><img src="uploads/ficons/{$forum['ficon']}" alt="{$forum['name']}" /></td> 


<td class="{$bgcolor}" valign="top">
<strong><a href="{$forum_url}">{$forum['name']}</a></strong>{$forum_viewers_text}<div class="smalltext">{$forum['description']}{$modlist}{$subforums}</div>
</td>
<td width="48">
<td class="{$bgcolor}" valign="top" align="center" style="white-space: nowrap">{$threads}{$unapproved['unapproved_threads']}</td>
<td class="{$bgcolor}" valign="top" align="center" style="white-space: nowrap">{$posts}{$unapproved['unapproved_posts']}</td>
<td class="{$bgcolor}" valign="top" align="right" style="white-space: nowrap">{$lastpost}</td>
</tr>
This happens:
[Image: 1NIZH]