Forums / Templates, Stylesheets, Page Layout / White Space Below Top Bar

White Space Below Top Bar

Locked

Views: 1,822

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
24 Mar 2007, 3:06 AM
#1
haleasdollclothes avatar

haleasdollclothes

New Zenner

Join Date:
Jan 2007
Posts:
28
Plugin Contributions:
0

White Space Below Top Bar

Hello,

Can anyone tell me how to minimize or get rid of the white space below the top bar on my store page? I don't want everything jammed up directly beneath the bar, but I don't want such a large white space there, either.

http://www.haleasdollclothes.com/store

The store will be integrated into a frame on my regular web page:

http://www.haleasdollclothes.com

TIA,

Kathy

24 Mar 2007, 12:10 PM
#2
rispku avatar

rispku

New Zenner

Join Date:
Jun 2006
Posts:
9
Plugin Contributions:
0

Re: White Space Below Top Bar

If you don't intend on adding a logo or banner under your header navigation bar, then override the tpl_header.php file in 'includes/templates/template_default/common/' and remove everything in between the "bof-branding display/eof-branding display" comments.

<!--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-->
24 Mar 2007, 6:48 PM
#3
haleasdollclothes avatar

haleasdollclothes

New Zenner

Join Date:
Jan 2007
Posts:
28
Plugin Contributions:
0

Re: White Space Below Top Bar

I probably should have mentioned that the white space is where links were supposed to show up. I don't think it's banner space (I could be wrong). I disabled the links that popped in when a category was clicked, but now there is white space left there.

I replaced the banner that was directly below the black bar with a single-pixel line of white.

Should I still follow the same directions?

http://www.haleasdollclothes.com/store

TIA,

Kathy

24 Mar 2007, 6:58 PM
#4
barco57 avatar

barco57

Totally Zenned

Join Date:
Apr 2006
Location:
West Salem, IL
Posts:
2,846
Plugin Contributions:
0

Re: White Space Below Top Bar

yes follow the instructions you were given....that will get rid of the large white space which is the "logoWrapper" the banners don't show up unless you turn them on but that banner position is wrapped by the logoWrapper so out with it....

Mike
AEIIA - Zen Cart Certified & PCI Compliant Hosting
The Zen Cart Forum...Better than a monitor covered with post-it notes!