can i remove the top bar with the "home" & "log in" links? since the title image links home & i can put the log in link elsewhere i would like to remove that completely.
thanks.
can i remove the top bar with the "home" & "log in" links? since the title image links home & i can put the log in link elsewhere i would like to remove that completely.
thanks.
edit includes/templates/YOUR_TEMPLATE/common/tpl_header.php
Development Manager @ JSWeb Ltd - suppliers of Applepay/Googlepay for Zencart
20 years with Zencart !
then what?
Study the file and figure out which section generates the two links in question - but be aware that once logged in, the "login" changes to "logout"+ links to the cart and checkout.
The relevant section is all within <div id="navMain"> ... and therefore you could, in fact, use css to hide it, simply by editing your stylesheet and adding eitherorCode:display:none;to the #navMain class,Code:visibility: hidden
The difference between them is that the former does not render the element at all and therefore takes up no space, whereas the second simply hides it but reserves the space. But remember the logged in state.
Development Manager @ JSWeb Ltd - suppliers of Applepay/Googlepay for Zencart
20 years with Zencart !
so it might be best to keep it right where it is... is there a way to put it on top of my title image?
Use css for positioning.
Development Manager @ JSWeb Ltd - suppliers of Applepay/Googlepay for Zencart
20 years with Zencart !
Hi
I have edited my tp_header file like this:
I have edited out the whole code apart from at the very top a standard a href= pointing to the home page. But when you look at the site the login link is still there!Code:<div id="navMain"> <ul class="back"> <a href="http://uzellacourtantiques.co.uk/">Home</a> <!-- <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>
http://uzellacourtantiques.co.uk
Any ideas please? I would like to keep the bar.
Thanks
Rich
You need to comment out the php lines using // or /*....*/
Development Manager @ JSWeb Ltd - suppliers of Applepay/Googlepay for Zencart
20 years with Zencart !
Hi
Thanks for the reply. If I use // or /* it doesn't get uncommented. So I just deleted the whole lot. Nothing still happens. The login link remains.
Is it possible to maybe take the whole line out and put a home page link elsewhere please? Or am I doing something wrong somewhere?
Many thanks
Rich
Well it isn't there now. Did you Refresh your page?
Development Manager @ JSWeb Ltd - suppliers of Applepay/Googlepay for Zencart
20 years with Zencart !