Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2007
    Posts
    17
    Plugin Contributions
    0

    Default Fill in the white space

    Hello!

    My site is www. nutrisport .no

    If you see below the banner and the top category menu, there is a white space. I really don`t know why, because the banner itself doesn`t have anything white...

    Does anyone know what to do?

    This is my header file:

    <!--bof-header logo and navigation display-->
    <?php
    if (!isset($flag_disable_header) || !$flag_disable_header) {
    ?>

    <div id="headerWrapper">
    <!--bof-navigation display-->
    <div id="navMainWrapper">
    <div id="navMain">
    <ul class="back">
    <li><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><?php echo HEADER_TITLE_CATALOG; ?></a></li>
    <?php if ($_SESSION['customer_id']) { ?>
    <li><a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGOFF; ?></a></li>
    <li><a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a></li>
    <?php
    } else {
    if (STORE_STATUS == '0') {
    ?>
    <li><a href="http://nutrisport.no/index.php?main_page=shippinginfo" style="color: rgb(255, 255, 255);">INFOSENTER</a></a></li>
    </a></li>
    <?php } } ?>

    <?php if ($_SESSION['cart']->count_contents() != 0) { ?>
    <li><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a></li>
    <li><a href="<?php echo zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>"><?php echo HEADER_TITLE_CHECKOUT; ?></a></li>
    <?php }?>
    </ul>
    </div>
    <br class="clearBoth" />
    </div>
    <!--eof-navigation display-->

    <!--bof-branding display-->
    <div id="logoWrapper">
    <!-- <div id="logo">
    <?php // echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">' . zen_image($template->get_template_dir(HEADER_LOGO_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT) . '</a>'; ?>
    </div> -->
    <?php if (HEADER_SALES_TEXT != '' || (SHOW_BANNERS_GROUP_SET2 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET2))) { ?>
    <div id="taglineWrapper">
    <?php
    if (HEADER_SALES_TEXT != '') {
    ?>
    <div id="tagline"><?php echo HEADER_SALES_TEXT;?></div>
    <?php
    }
    ?>
    <?php
    if (SHOW_BANNERS_GROUP_SET2 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET2)) {
    if ($banner->RecordCount() > 0) {
    ?>
    <div id="bannerTwo" class="banners"><?php echo zen_display_banner('static', $banner);?></div>
    <?php
    }
    }
    ?>
    </div>
    <?php } // no HEADER_SALES_TEXT or SHOW_BANNERS_GROUP_SET2 ?>
    </div>
    <br class="clearBoth" />
    <!--eof-branding display-->

    <!--eof-header logo and navigation display-->

    <!--bof-optional categories tabs navigation display-->
    <?php require($template->get_template_dir('tpl_modules_categories_tabs.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_categories_tabs.php'); ?>
    <!--eof-optional categories tabs navigation display-->

    <!--bof-header ezpage links-->
    <?php if (EZPAGES_STATUS_HEADER == '1' or (EZPAGES_STATUS_HEADER == '2' and (strstr(EXCLUDE_ADMIN_IP_FOR_MAINTENANCE, $_SERVER['REMOTE_ADDR'])))) { ?>
    <?php require($template->get_template_dir('tpl_ezpages_bar_header.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_ezpages_bar_header.php'); ?>
    <?php } ?>
    <!--eof-header ezpage links-->
    </div>
    <?php } ?>

  2. #2
    Join Date
    Sep 2007
    Posts
    219
    Plugin Contributions
    0

    Default Re: Fill in the white space

    Hi Helgera,

    The top space is being caused by the tagline, so you could change:

    Line 43
    <div id="tagline"><?php echo HEADER_SALES_TEXT;?></div>

    To
    <!--<div id="tagline"><?php echo HEADER_SALES_TEXT;?></div>-->

    As you are not actually using it

    The bottom space is being caused by

    Line 59
    <br class="clearBoth"/>

    Which also you don't actually need, so if you also remove that by changing it to
    <!--<br class="clearBoth"/>-->

    Your whitespace should disappear

    Let me know how you get on

  3. #3
    Join Date
    Sep 2007
    Posts
    17
    Plugin Contributions
    0

    Default Re: Fill in the white space

    Hi man!

    Thanx for showing up!

    I now made the changes you said, but now my highest menu went the same color as the banner, and the white space didn`t disappear...

    Thanx again for responding!

 

 

Similar Threads

  1. How to fill the space below the sidebox?
    By paulmd in forum Templates, Stylesheets, Page Layout
    Replies: 10
    Last Post: 8 Nov 2008, 03:00 PM
  2. white space in the header
    By yoyodyne in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 8 Sep 2008, 05:31 PM
  3. the dreaded white space
    By smallpigpig in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 23 Sep 2007, 06:31 AM
  4. White Space....I Know Another White Space Issue...Cant Get Rid Of It
    By enchantedlingerie in forum Templates, Stylesheets, Page Layout
    Replies: 11
    Last Post: 18 Apr 2007, 03:05 PM
  5. Removing the right sidebox -> Middle content width does not fill in space
    By askfritzdotcom in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 6 Apr 2007, 11:57 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg