Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16
  1. #11
    Join Date
    Jun 2007
    Posts
    17
    Plugin Contributions
    0

    Default Re: flip navbar & header main bars

    I think that nailed it, right on the head.
    Thanks Kuroi

  2. #12
    Join Date
    Jul 2007
    Posts
    15
    Plugin Contributions
    0

    Default Re: flip navbar & header main bars

    Hi

    I am also trying this.
    The problem i have is that i get white space between the
    Header and Navbar. When they should be tucked up tight to each other.
    Any ideas on why this is happening ?

  3. #13
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: flip navbar & header main bars

    Quote Originally Posted by JayNT View Post
    i get white space between the
    Header and Navbar. When they should be tucked up tight to each other.
    Any ideas on why this is happening ?
    Do you have a link to your site?
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  4. #14
    Join Date
    Jul 2007
    Posts
    15
    Plugin Contributions
    0

    Default Re: flip navbar & header main bars

    Hi Kuroi

    No link as i am running it on test sever at the mo
    This is my tpl_header
    everything abve the header div is still there .

    Code:
    ?><div id="headerWrapper">
    <!--bof-branding display-->
    <div id="logoWrapper">
        <div id="logo"></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 != '') {
    ?>
          
    <?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-->
    <!--bof-header logo and navigation display-->
    <?php
    if (!isset($flag_disable_header) || !$flag_disable_header) {
    ?>
    
    
    <!--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="<?php echo zen_href_link(FILENAME_LOGIN, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGIN; ?></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>
    <div id="navMainSearch"><?php require(DIR_WS_MODULES . 'sideboxes/search_header.php'); ?></div>
    <br class="clearBoth" />
    </div>
    <!--eof-navigation 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 } ?>

  5. #15
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: flip navbar & header main bars

    There are a large number of reasons why whitespace can appear in and around a Zen Cart header. It can depend on the code, the CSS, their interaction, the type of images being used and the borwser through which the site is being viewed.

    This makes it futile to try to diagnose the problem without even being able to see it, let alone see how all the above are interacting. Please let us know when you are ready to put the site somewhere that it can be seen, and I'll be happy to take a look then.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  6. #16
    Join Date
    Jul 2007
    Posts
    15
    Plugin Contributions
    0

    Default Re: flip navbar & header main bars

    I get the same problem using the default Zen cart template after a fresh install

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. moving header logo & nav bars around..
    By jvn01 in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 18 Nov 2010, 04:09 PM
  2. How to remove space between header & main text?
    By Arkwright in forum Templates, Stylesheets, Page Layout
    Replies: 13
    Last Post: 12 Mar 2010, 07:31 PM
  3. NavBar + 2 Search Bars?
    By TurtleDove in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 8 Jun 2007, 11:51 PM
  4. flip header with ez header and......
    By g0d4lm1ty in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 1 Nov 2006, 02:46 AM

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