Log in

View Full Version : Basic Style Question


DerekD
04-26-2006, 05:34 AM
What template / where would I modify to remove the space between two forums?

http://img161.imageshack.us/my.php?image=img116dd.png

I'm going for a look similar to http://www.namepros.com , how they have no space when there is a new category.

Originally I looked in: forumhome_forumbit_level1_nopost

And tried messing with:

$childforumbits

<!-- EDITED thead -->
<tr><td class="thead" line-height: 0; padding: 0; margin: 0;" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>"><img src="" alt="" width="1" height="12" /></td></tr>
</tbody>
</if>

First I tried removing class="thead", and it worked in Firefox, however in IE there was a small white gap where the image would have been.

Freesteyelz
04-26-2006, 05:51 AM
The default style doesn't have a break between categories. As shown in your example, the entire code bit after $childforumbits is what's causing the gap. The original code should be:


<if condition="$childforumbits">
<tbody id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}">
$childforumbits
</tbody>
</if>

DerekD
04-26-2006, 03:26 PM
Thanks, fixed it and it works like a charm!

Freesteyelz
04-27-2006, 01:22 AM
Cool. :)