MyBB Community Forums

Full Version: How can I fix icon cell spread?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Where in what template can I fix this cell spread for the index page icons?

The attached image shows the differences in the two forums where the cell in the row is too wide and does not line up.

[attachment=9426]

I'm customizing a theme off the default templates.
I can only remedy this by adding a longer description to the forum.

Sometimes long description are not necessary and sometimes no description at all is warranted.

Is there anyplace I can set this so I don't have to make the description unnecessarily long to prevent this?

This does not happen on the category view page. Only the index view.

Thanks.
Does anyone have any idea on this for me? I really need to finish this theme up and I can't find where to adjust for this. Sad
Try putting default width values on the table columns which in the forumbit_depth2_forum template.
I don't think that's going to work. below is the template you mention. I don't see where I would set this as there is no call to the icon.
It also seems to be the forum view and not the index (home page) view where it is giving me the trouble.

Also I noticed that if I turn OFF forum descriptions the spread gets wider.

Quote:<tr>
<td class="{$bgcolor}" align="center" valign="top"><img src="{$theme['imgdir']}/{$lightbulb['folder']}.gif" alt="{$lightbulb['altonoff']}" title="{$lightbulb['altonoff']}" /></td>
<td class="{$bgcolor}" valign="top">
<strong><a href="forumdisplay.php?fid={$forum['fid']}">{$forum['name']}</a></strong><div class="smalltext">{$forum['description']}{$modlist}{$subforums}</div>
</td>
<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>
I had a similar problem before but it was spread like that in all categories. The way i fixed it was in the forumbit_depth1_cat template.

<td class="tcat" width="35">&nbsp;</td>

Changing the width to 45 fixed it for me. Try playing around with that number and see if it works for you. May not work though because mine was a slightly different problem.
yeah forum bit 1 & 2 is what I originally played with but i was making the number SMALLER instead of bigger.

That's the only template I could figure out where to edit.

I'll let you know how I make out! If I can find a fix for this it would be good to know for everyone.
forumbit_depth1_cat <<<<, That was it! WOO HOO and THANK YOU! Changed the 35 to 45 like you did and it shot both of them in line!

EXCELLENT! You have no idea how that was driving me NUTS! As if I need any help in that department! Wink