Log in

View Full Version : Is there a modification to close the gaps between forums?


FreshPrince
01-26-2007, 01:22 AM
Hello,

After installing a new skin, there are a lot of gaps between the forums, that I find to be a bit cumbersome. Is there a mod to close those gaps? I've seen a hack to put a space in between them.

Thank again.

FP

Aken
01-26-2007, 01:50 AM
You would need to change the contents of a template (or possibly more than one), not install a hack or mod.

If you don't like the gaps on the Forum Home page, post a link to your boards and the contents of your forumhome_forumbit_level1_nopost template - someone should be able to point you in the right direction.

Shazz
01-26-2007, 02:28 AM
There are many try this
https://vborg.vbsupport.ru/showthread.php?t=123713&highlight=seperate

FreshPrince
01-27-2007, 03:28 AM
You would need to change the contents of a template (or possibly more than one), not install a hack or mod.

If you don't like the gaps on the Forum Home page, post a link to your boards and the contents of your forumhome_forumbit_level1_nopost template - someone should be able to point you in the right direction.

Yeah man, here it is. :)


So, what can I change to get rid of that big gap on the top, between the navbar and beneath the banner, and how do I get rid of the gap between the forums? Thanks a lot. :)

FP

http://www.politicsforumpoliticalworld.com/forum/

<!-- top -->
<style type="text/css">
<!--
.style2 {
font-family: Tahoma;
font-size: 12px;
font-weight: bold;
}
-->
</style>

<table width="100%" border="0" cellpadding="0" cellspacing="0" background="$stylevar[imgdir_misc]/cat_title_bg.gif">
<tr>
<td width="22" background="$stylevar[imgdir_misc]/cat_title_bg.gif"><img src="$stylevar[imgdir_misc]/cat_title_left.gif" width="22" height="31"></td>
<td background="$stylevar[imgdir_misc]/cat_title_left_bg.gif" style="background-repeat:no-repeat;">
<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]" class="text style2">$forum[title] <font class="container">$forum[title]</font></a> </td>
<td background="$stylevar[imgdir_misc]/cat_title_bg.gif">
<div align="right"><a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumbit_$forumid')"><img id="collapseimg_forumbit_$forumid" src="$stylevar[imgdir_button]/collapse_tcat{$collapseimg_forumid}.gif" alt="" border="0" /></a>
</div></td>
<td width="21" background="$stylevar[imgdir_misc]/cat_title_bg.gif"><div align="right"><img src="$stylevar[imgdir_misc]/cat_title_right.gif" width="21" height="31"></div></td>
</tr>
</table>
<!-- /top -->





<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="$stylevar[outertablewidth]" align="center">

<if condition="$childforumbits">
<tbody id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}">
<tr align="center">
<td class="thead" width="50">&nbsp;</td>
<td class="thead" align="$stylevar[left]">$vbphrase[forum]</td>
<td class="thead" width="200">$vbphrase[last_post]</td>
<td class="thead" width="40">$vbphrase[threads]</td>
<td class="thead" width="40">$vbphrase[posts]</td>
<if condition="$vboptions[showmoderatorcolumn]">
<td class="thead">$vbphrase[moderator]</td>
</if>
</tr>
$childforumbits
</if>
</tbody>
</table>



<!-- bottom -->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="143"><img src="$stylevar[imgdir_misc]/cat_footer_left.gif" width="143" height="23"></td>
<td background="$stylevar[imgdir_misc]/cat_footer_bg.gif">&nbsp;</td>
<td width="48"><img src="$stylevar[imgdir_misc]/cat_footer_right.gif" width="48" height="23"></td>
</tr>
</table>

<!-- /bottom -->

<div style="padding: 10px 10px 10px 10px;"></div>

Aken
01-27-2007, 07:21 AM
Well to get rid of the gaps between each category section just remove the div off the bottom:

<div style="padding: 10px 10px 10px 10px;"></div>

However I think your forums look fine seperated the way they are now, I think you should leave the gap!

As for the large gap above the navbar, I can see what's causing it, but without seeing exactly how it's laid out in your templates I can't say for sure how to remove it. Try posting your header template, we'll see if it's in there :)

FreshPrince
01-27-2007, 11:29 AM
Thanks, Aken, I'll get on that a bit later in the afternoon.

With regards to my header.....funny you should mention that. ;)

https://vborg.vbsupport.ru/showthread.php?t=137631