Results 1 to 10 of 10
  1. #1
    Join Date
    Jan 2006
    Posts
    158
    Plugin Contributions
    0

    Default How Can I turn Off Header Menu

    the very top one that says Home Log in. I found where I can move it below the logo image.....didn't like that...moved it back to the top..is there a way to remove it completely?
    Thanks!

  2. #2
    Join Date
    Aug 2006
    Location
    Singapore
    Posts
    167
    Plugin Contributions
    1

    Default Re: How Can I turn Off Header Menu

    Then just deactivate the whole

    <!--
    <div id="navMainWrapper">

    <?php // navigation display code ?>

    </div>
    -->

  3. #3
    Join Date
    Jan 2006
    Posts
    158
    Plugin Contributions
    0

    Default Re: How Can I turn Off Header Menu

    I have searched tpl_header.php and I can't find the term:
    <?php // navigation display code ?>

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

    Default Re: How Can I turn Off Header Menu

    You are in the correct file, in a copy (do not edit the core file) remove this code in total:
    Code:
    <!--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>
        <li><a href="<?php echo zen_href_link(FILENAME_LOGIN, '', 'SSL'); ?>"><?php echo HEADER_TITLE_CREATE_ACCOUNT; ?></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>
    <br class="clearBoth" />
    </div>
    <!--eof-navigation display-->
    But be aware that this also controls and will remove other nav bar items that display the logout, shopping cart, and checkout links that I would think that one would want for their customers.

  5. #5
    Join Date
    Jan 2006
    Posts
    158
    Plugin Contributions
    0

    Default Re: How Can I turn Off Header Menu

    Thank you so much, it worked.....but from what you are saying, I really need to have it in there...thanks for telling me that info...I will reconsider....it's just so ugly: I can't do anything with it...LOL

    Thanks!

  6. #6
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: How Can I turn Off Header Menu

    I would concentrate on making it pretty then!!!

  7. #7
    Join Date
    Jan 2006
    Posts
    158
    Plugin Contributions
    0

    Default Re: How Can I turn Off Header Menu

    ROTFLLLL....if all else fails maybe I can blend it into the background....:>)

  8. #8
    Join Date
    Aug 2006
    Location
    Singapore
    Posts
    167
    Plugin Contributions
    1

    Default Re: How Can I turn Off Header Menu

    May I know what you are trying to achieve? Prettier main navigation links? You mean change color or make it like buttons?

  9. #9
    Join Date
    Jan 2006
    Posts
    158
    Plugin Contributions
    0

    Default Re: How Can I turn Off Header Menu

    Well, it doesn't blend in with the page being placed underneath the logo image because of spaces I can't find where to get rid of and it doesn't blend in with the logo image. Instead it stands out...the best I can do is to blend it into the page background since it is neccessary to site navigation.

  10. #10
    Join Date
    Aug 2006
    Location
    Singapore
    Posts
    167
    Plugin Contributions
    1

    Default Re: How Can I turn Off Header Menu

    Actually the standard code was designed to place main navigation link above the logo and Header Tag text. They are in seperate div box, so wont blend together.

    If you want to blend it with logo (my understanding you make logo as background of main navigation right?) I suggest you modify the main navMainWrapper div box and make logo as its background.

    This could be trial and error, a little bit modification of aligment, padding etc, but you will find the best result to your needs.

 

 

Similar Threads

  1. How do I turn off the header completely
    By yingzhao in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 20 Apr 2010, 05:01 AM
  2. How can I turn off a category on menu
    By Out2lunch in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 2 Aug 2008, 05:23 PM
  3. Add To Cart: how can I turn off the text *Mixed OFF
    By rstevenson in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 18 Apr 2007, 06:51 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