Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / HTML link for branding logo

HTML link for branding logo

Locked

Views: 608

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
23 May 2009, 11:37 AM
#1
genzai avatar

genzai

New Zenner

Join Date:
Aug 2008
Posts:
8
Plugin Contributions:
0

HTML link for branding logo

Hi everyone

How do you go about setting a link for when someone clicks on your logo at the top of the page?

Under the source code <!--bof-branding display--> my current link for the logo is not what i want it to be

thanks

24 May 2009, 12:01 AM
#2
bobdog avatar

bobdog

Totally Zenned

Join Date:
Mar 2006
Location:
Fresno, California
Posts:
590
Plugin Contributions:
0

Re: HTML link for branding logo

Where do you want it to go?

If zen cart is in a directory like mysite.com/zencart and you want it to go to mysite.com, then open

includes/templates/template_default/common/tpl_header and find:

<?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?>

and change it to:

<?php echo '<a href="' . HTTP_SERVER . '">'; ?>

save to includes/templates/custom_template/common/tpl_header.php

=====

If you want it to go somewhere away from your site, then edit to this:

<a href=http://www.insert_url_here.com/>'