Forums / Templates, Stylesheets, Page Layout / Take away the top navigation area

Take away the top navigation area

Locked

Views: 828

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
9 Dec 2008, 10:42 AM
#1
phillpal avatar

phillpal

New Zenner

Join Date:
Apr 2008
Posts:
52
Plugin Contributions:
0

Take away the top navigation area

http://perluiclearance.co.uk/

This is my site that I am currently working on for a clearance site to https://www.perlui.co.uk

As you can see there are tons of different categories and yes I could list them another way but I want to make this as clearance as possible and also help with the google rankings.

How do I get rid of the top nav part just below my logo.

Also how do I get rid of the tagline, I've changed the CSS to display it as white at the moment.

Thanks

Phill

9 Dec 2008, 11:44 AM
#2
fairestcape avatar

fairestcape

Totally Zenned

Join Date:
Mar 2008
Location:
Cape Town & London (depends on the season)
Posts:
2,957
Plugin Contributions:
0

Re: Take away the top navigation area

To disable the header navigation section, find:

<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="<?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-->

and COMMENT OUT the Navigation Display:-

<div id="headerWrapper">
<!--bof-navigation display--><!--Comment Out Begin
<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> Comment Out end -->
<!--eof-navigation display-->

To get rid of TagLine, open:

/includes/languages/english/header.php

and find:

  define('HEADER_SALES_TEXT', 'TagLine Here');

and delete TagLine Here (LEAVE single quotes alone).

  define('HEADER_SALES_TEXT', '');

Save the EDITED file to:

includes/languages/english/CUSTOM/header.php

9 Dec 2008, 12:33 PM
#3
phillpal avatar

phillpal

New Zenner

Join Date:
Apr 2008
Posts:
52
Plugin Contributions:
0

Re: Take away the top navigation area

where is the coding for the top nav I have removed the tagline part

9 Dec 2008, 1:01 PM
#4
fairestcape avatar

fairestcape

Totally Zenned

Join Date:
Mar 2008
Location:
Cape Town &amp; London (depends on the season)
Posts:
2,957
Plugin Contributions:
0

Re: Take away the top navigation area

includes/templates/template_default/common/tpl_header.php

After editing, save to:

includes/templates/CUSTOM/common/tpl_header.php