Quote:
Originally Posted by zeropaid
Here is what you want to do if you are having problems with misaligned columns.
Edit these 2 templates
- FORUMHOME
- forumhome_seperate_forumcats
Replace forumhome_seperate_forumcats with the following code:
Code:
</table>
<br />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tbody>
<td class="thead" width="5%"> </td>
<td class="thead" width="70%" align="$stylevar[left]">$vbphrase[forum]</td>
<td class="thead" width="15%">$vbphrase[last_post]</td>
<td class="thead" width="5%">$vbphrase[threads]</td>
<td class="thead" width="5%">$vbphrase[posts]</td>
<if condition="$vboptions['showmoderatorcolumn']">
<td class="thead" width="0%">$vbphrase[moderator]</td>
</if>
</tbody>
In FORUMHOME
Look for this
Code:
<!-- main -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
and put this after
Code:
<tbody>
<td class="thead" width="5%"> </td>
<td class="thead" width="70%" align="$stylevar[left]">$vbphrase[forum]</td>
<td class="thead" width="15%">$vbphrase[last_post]</td>
<td class="thead" width="5%">$vbphrase[threads]</td>
<td class="thead" width="5%">$vbphrase[posts]</td>
<if condition="$vboptions['showmoderatorcolumn']">
<td class="thead" width="0%">$vbphrase[moderator]</td>
</if>
</tbody>
If you see a double row of the table headers, look for a set of code like the above and delete it. It should be right after the code you just added above.
|
Hi, did you apply the above fix to your forums? Because if you did, it ain't working. The columns are not aligned properly. I read that even with the above fix it may or may not align the columns. Part of the problem is the length of the last post title. It may be need to be shortened in the admin cp.