Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Breadcrumbs


Measha06

Recommended Posts

Can you tell me how to remove this totally and if there are any particular downsides. My existing site does not have this feature on.

 

If you don't remove it where or where do you alter the background colour to it, I've searched for hours and nothing seems to alter it!

Liz

 

A very appreciative member still attempting to climb the steep learning curve!

Link to comment
Share on other sites

I either want to totally remove the strip just under the header that says Top, Checkout, My Account etc. Which is how my present sites are or if I dont remove them because somebody gives me a good enough reason to keep them this time I want to alter that awful bluey-grey colour.

 

So I need to know how to do both.

 

Hopefully that is clearer what I want to do.

Liz

 

A very appreciative member still attempting to climb the steep learning curve!

Link to comment
Share on other sites

  • 3 weeks later...
I either want to totally remove the strip just under the header that says Top, Checkout, My Account etc. Which is how my present sites are or if I dont remove them because somebody gives me a good enough reason to keep them this time I want to alter that awful bluey-grey colour.

 

So I need to know how to do both.

 

Hopefully that is clearer what I want to do.

 

I would suggest keeping at least the right-hand portion, as that is where the customer can access their account information, cart contents and checkout (make it as easy as possible for the customer to give you money! :D )

 

To change the contents of that line, go to (your store directory)/includes/header.php. If you haven't done extensive changes to this file, etc., around lines 62-67 you will see a table that contains the breadcrumb navigation.

<table border="0" width="100%" cellspacing="0" cellpadding="1">
 <tr class="headerNavigation">
   <td class="headerNavigation">  <?php echo $breadcrumb->trail(' » '); ?></td>
   <td align="right" class="headerNavigation"><?php if (tep_session_is_registered('customer_id')) { ?><a href="<?php echo tep_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_LOGOFF; ?></a>  |  <?php } ?><a href="<?php echo tep_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a>  |  <a href="<?php echo tep_href_link(FILENAME_SHOPPING_CART); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a>  |  <a href="<?php echo tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CHECKOUT; ?></a>   </td>
 </tr>
</table>

If you want to completely eliminate this (which I would not suggest you do), you can simply comment out that entire table. If you want to eliminate just the navigation in the left-hand cell (the part that tells the customer where they are on the site, such, like "Top >> Catalog >> Categories", etc., comment out the php portion of the "echo $breadcrumb..." line, so that it would read:

<td class="headerNavigation">  <?php //echo $breadcrumb->trail(' » '); ?></td>

This will preserve the cell, but eliminate the contents.

 

Colors can all be changed in the stylesheet.css file. The colors you would want to change for the navigation bar are TR.headerNavigation and TD.headerNavigation

 

Hope this helps!

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...