PDA

View Full Version : Forum Home Block spacing


Falcon Capt
08-15-2010, 02:26 PM
I added a couple blocks at the top of my FORUMHOME template (for stats and Who's Chatting). They display fine, but I would like to reduce the spacing between them (and the blocks and the main forums) to match the spacing between the rest of my forum categories.

I would like to reduce the spacing that is circled in red to the size of the spacing circled in green (which is the spacing between the forum categories).

https://vborg.vbsupport.ru/external/2010/08/37.jpg


Here is the code used in the blocks:


<!-- main -->

<vb:comment><-- Upper Forums Stats --></vb:comment>

<div id="wgo" class="wgo_block_top_stats">
<h2>
<span>{vb:rawphrase x_statistics, {vb:raw vboptions.bbtitle}}</span>
</h2>
<div class="floatcontainer">
<div id="wgo_stats" class="wgo_subblock_top_stats collapse">
<dl>
<dt><b>{vb:rawphrase threads}</b></dt>
<dd>{vb:raw totalthreads} &nbsp;|</dd>
<dt><b>{vb:rawphrase posts}</b></dt>
<dd>{vb:raw totalposts} &nbsp;|</dd>
<dt><b>{vb:rawphrase members}</b></dt>
<dd>{vb:raw numbermembers} &nbsp;|</dd>
<dt><b>Thread Views</b></dt>
<dd>{vb:raw views}</dd>
<br>
<dt><b>Membership Flight Time</b></dt>
<dd><b><font color=red>{vb:raw flighttime} hours</font></b> &nbsp;|</</dd>
<dt><b>Average Flight Time per Member</b></dt>
<dd><b><font color=red>{vb:raw avgflighttime} hours</font></b></dd>
<br>
<vb:if condition="$show['activemembers']">
<dt>{vb:rawphrase active_members}</dt>
<dd>{vb:raw activemembers}</dd>
</vb:if>
</dl>

</div></div></div>

<vb:comment><-- /Upper Forums Stats --></vb:comment>


{vb:raw template_hook.forumhome_above_forums}



<vb:comment><-- Upper Who's Chatting Display --></vb:comment>

<vb:if condition="is_member_of($bbuserinfo, 2,3,5,6,7,9,12)">
<div id="wgo" class="collapse wgo_block">
<h2>
<span>Who is in the "Bored Room" Live Chat?</span>
</h2>
<div class="floatcontainer">
{vb:raw template_hook.forumhome_whos_chatting_top}
</div></div>
</vb:if>
<vb:comment><-- /Upper Who's Chatting Display --></vb:comment>

<ol id="forums" class="floatcontainer">
{vb:raw forumbits}
</ol>
{vb:raw template_hook.forumhome_below_forums}
<!-- /main -->

Lynne
08-15-2010, 02:42 PM
Since the default style has no spacing between those blocks, that means you did something already to your style to add it. So, you'll have to just undo that. I'm sure it's some CSS, so you'll have to look at that.