vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Forum Home Block spacing (https://vborg.vbsupport.ru/showthread.php?t=248674)

Falcon Capt 08-15-2010 02:26 PM

Forum Home Block spacing
 
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:

Code:

        <!-- 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.


All times are GMT. The time now is 09:39 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01047 seconds
  • Memory Usage 1,734KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (2)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete