title explains it all, how would i do that?
title explains it all, how would i do that?
Could try Alternative Header mod at
http://www.zen-cart.com/index.php?ma...roducts_id=132
Or check includes/templates/YOUR TEMPLATE/common/tpl_header.php, open it up in your favorite editor (dreamweaver etc )and move (by memory so please backup and test first )
to the bottom of the file<table width="100%" border="0" cellspacing="0" cellpadding="0" class="headerNavigation">
<tr>
<td align="left" valign="top" width="35%" class="headerNavigation">
<a href="<?php echo zen_href_link(FILENAME_DEFAULT, '', 'NONSSL'); ?>"><?php echo HEADER_TITLE_CATALOG; ?></a> |
<?php if (isset($_SESSION['customer_id'])) { ?>
<a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGOFF; ?></a> |
<a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a>
<?php
} else {
if (STORE_STATUS == '0') {
?>
<a href="<?php echo zen_href_link(FILENAME_LOGIN, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGIN; ?></a>
<?php } } ?>
</td>
<td align="center" width="30%" class="headerNavigation"><?php require(DIR_WS_MODULES . 'sideboxes/' . 'search_header.php'); ?></td>
<td align="right" valign="top" width="35%" class="headerNavigation">
<?php if ($_SESSION['cart']->count_contents() != 0) { ?>
<a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a> | <a href="<?php echo zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>"><?php echo HEADER_TITLE_CHECKOUT; ?>»</a>
<?php }?>
</td>
</tr>
</table>
Gerard
open it up in your favorite editor (dreamweaver etc )and move (by memory so please backup and test first
Code above is for ZenCart 1.2*.. Changed in zencart 1.3*
But the principle is still applicable, and even easier to do now.
In tpl_header.php, find the block of code starting with <!--bof navigation display--> and ending with <!--eof navigation display-->, and move the whole block to just after <!--eof branding display-->.
In tpl_header.php, find the block of code starting with <!--bof navigation display--> and ending with <!--eof navigation display-->, and move the whole block to just after <!--eof branding display-->.
I did this, but now it's blocking the top of the images below it. Tried adding a line break under it but that just messed up the whole page. Have also tried (both through the css and tpl_header.php) to insert a background image for the main nav - nothing seems to work.
Any ideas.....
Thanks
Judy
http://www.judysgems.com/ZenCart/
Disregard my previous post - starting from scratch
Bookmarks