MyBB Community Forums

Full Version: Takes only half the space?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
[Image: Maximized.png]

[Image: minimized.png]

How can I fix that category header problem?
Can you post code of .thead here?

I think you missed repeat in code.
(2012-05-06, 12:15 PM)JovanJ. Wrote: [ -> ]Can you post code of .thead here?

I think you missed repeat in code.

Where can I find this piece of code?
Templates -> global.css of your theme.
You probably need to set the colspan of that td to something like colspan="4"

Example:

<div id="cat_{$forum['fid']}" class="content">
  <table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder"><thead>
<tr>
<td class="thead" colspan="4">
<div class="expcolimage"><img src="{$theme['imgdir']}/{$expcolimage}" id="cat_{$forum['fid']}_img" class="expander" alt="{$expaltext}" title="{$expaltext}" /></div>
<div><strong><a href="{$forum_url}">{$forum['name']}</a></strong><br /><div class="indexdesc">{$forum['description']}</div></div>
</td>
</tr>
</thead>
<tbody style="{$expdisplay}" id="cat_{$forum['fid']}_e">
{$sub_forums}
</tbody>
</table>
<br />
</div>