Results 1 to 4 of 4
  1. #1
    Join Date
    May 2006
    Posts
    41
    Plugin Contributions
    0

    help question Need help in moving Home/Login tabs

    I am needing some help with rearranging my nav tabs. I want to place them underneath my header which I accomplished that just fine, but I have a problem despite the instructions I followed from the posts on this matter. I have a long grey bar going across to the right on my nav tabs instead of being on the left side.

    View of the problem:

    http://www.mistys-specialty-gifts.biz/test/

    Note: This site is only my test site for me to use while changing my layout.


    Here is the code placement of what I did in tbl_header.php


    PHP Code:
    <!--bof-header logo and navigation display-->
    <?php
    if (!isset($flag_disable_header) || !$flag_disable_header) {
    ?>
    <!-- divs for drop shadow -->
    <div id="nw"><div id="ne"><div id="se"><div id="sw"><div id="n"><div id="s"><div id="w"><div id="e"><div id="main"><table id="workaround"><tr><td>
       <div id="headerWrapper">
          <!--bof-branding display-->
          <div id="logoWrapper" class="clearfix">
            <div id="logo"><?php echo '<a href="' HTTP_SERVER DIR_WS_CATALOG '">' zen_image($template->get_template_dir(HEADER_LOGO_IMAGEDIR_WS_TEMPLATE$current_page_base,'images'). '/' HEADER_LOGO_IMAGEHEADER_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>
          <!--eof-branding 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-->
    <!--bof-navigation display-->
          <div id="navMainWrapper">
            <div id="navMainSearch">
              <?php require(DIR_WS_MODULES 'sideboxes/search_header.php'); ?>
            </div>
            <div id="navMain">
              <ul>
                <li><?php echo '<a href="' HTTP_SERVER DIR_WS_CATALOG '">'?><span><?php echo HEADER_TITLE_CATALOG?></span></a></li>
                <?php if ($_SESSION['customer_id']) { ?>
                <li><a href="<?php echo zen_href_link(FILENAME_LOGOFF'''SSL'); ?>"><span><?php echo HEADER_TITLE_LOGOFF?></span></a></li>
                <li><a href="<?php echo zen_href_link(FILENAME_ACCOUNT'''SSL'); ?>"><span><?php echo HEADER_TITLE_MY_ACCOUNT?></span></a></li>
                <?php
          
    } else {
            if (
    STORE_STATUS == '0') {
    ?>
                <li><a href="<?php echo zen_href_link(FILENAME_LOGIN'''SSL'); ?>"><span><?php echo HEADER_TITLE_LOGIN?></span></a></li>
                <li><a href="<?php echo zen_href_link(FILENAME_ACCOUNT'''SSL'); ?>"><span><?php echo HEADER_TITLE_MY_ACCOUNT?></span></a></li>
                <?php } } ?>
                <li><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART'''NONSSL'); ?>"><span><?php echo HEADER_TITLE_CART_CONTENTS?></span></a></li>
                <li><a href="<?php echo zen_href_link(FILENAME_CHECKOUT_SHIPPING'''SSL'); ?>"><span class="last"><?php echo HEADER_TITLE_CHECKOUT?></span></a></li>
              </ul>
            </div>
          </div>
          <!--eof-navigation display-->     
    <!--eof-header logo and navigation display-->
        
          </div>
        <?php ?>



    What did I do wrong?

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Need help in moving Home/Login tabs

    In your stylesheet remove or comment out the background image
    Code:
    #navMainWrapper {
    	background:url("../images/grey/header.gif");
    	}
    Zen-Venom Get Bitten

  3. #3
    Join Date
    May 2006
    Posts
    41
    Plugin Contributions
    0

    Default Re: Need help in moving Home/Login tabs

    Quote Originally Posted by kobra View Post
    In your stylesheet remove or comment out the background image
    Code:
    #navMainWrapper {
    	background:url("../images/grey/header.gif");
    	}

    Okay. I did that, but it didn't solve my problem. I still have that ugly empty space - to the left of my tabs - that needs to be filled up with the same color grey.


  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Need help in moving Home/Login tabs

    Try adding/changing this and adjust color as needed:
    Code:
    #navMain {
    	float:right;
    	width: 100%;
            background-color: #9a9a9a;
    	line-height:normal;
    	}
    Zen-Venom Get Bitten

 

 

Similar Threads

  1. Moving Home/Login in the header
    By Amabelle in forum Templates, Stylesheets, Page Layout
    Replies: 11
    Last Post: 24 May 2011, 01:25 AM
  2. Moving 'home, login' links
    By Spo0f in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 7 Jun 2009, 10:41 PM
  3. Moving Home, Login & My Account
    By ScriptJunkie in forum Templates, Stylesheets, Page Layout
    Replies: 14
    Last Post: 26 Aug 2008, 03:52 PM
  4. Moving Home Login below Logo
    By gogolf in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 27 May 2008, 11:05 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR