Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Navigation bar


Recommended Posts

In the osCommerce default navigation bar on the left side there are the Top/Catalog links, and My account, Cart contents and checkout on the right.


I would like to have only the Top link and get rid of the rest on the left side, and pull it to the right. So the left side would be empty and on the right side of the bar we can read Top, My account, Cart contents and checkout.


Is it possible to do it without creating a table in the header ? I was looking for postings in the forum or for a contribution on this but found nothing. I created a table and could get it, but then I have to make a .gif or .jpg file for that area. What I would like to get is to have all this links together on the right side of the bar and still be able to use the stylesheet for that area layout.


Any advise will be very welcomed.

Link to comment
Share on other sites

Is it not possible to alter this bit of code in includes/header.php to suit your needs.



<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>




This is the code for the table where the top navbar is.


Link to comment
Share on other sites


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

  • Create New...