Zen Follower
- Join Date:
- Jun 2006
- Posts:
- 110
- Plugin Contributions:
- 0
Moving 'Home | Log In', search bar, etc under header image
title explains it all, how would i do that?
Views: 2,954
Zen Follower
title explains it all, how would i do that?
Inactive
Could try Alternative Header mod at
http://www.zen-cart.com/index.php?main_page=product_contrib_info&cPath=40_53&products_id=132
Zen Follower
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 :blush: )
<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>
to the bottom of the file
Gerard :smile:
Inactive
open it up in your favorite editor (dreamweaver etc )and move (by memory so please backup and test first
:no:
Code above is for ZenCart 1.2*.. Changed in zencart 1.3*
Black Belt
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-->.
Inactive
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-->.
:thumbsup:
New Zenner
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
New Zenner
Disregard my previous post - starting from scratch :down:
Tell staff why this post should be reviewed.