Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / How do I remove the link from my logo?

How do I remove the link from my logo?

Locked

Views: 805

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
5 Jan 2010, 3:46 PM
#1
flopez01 avatar

flopez01

New Zenner

Join Date:
Dec 2009
Posts:
6
Plugin Contributions:
0

How do I remove the link from my logo?

Hello everyone,

I've just finished adding my logo to the header on my site.

The problem is that when you hover over the logo, it has a link that will take you to the homepage.

How do I remove this link? I'm having trouble finding where it's located.

Any ideas?

http://new.hydroponic-gardens.com/zencart/

Thanks,

Fernando

5 Jan 2010, 5:45 PM
#2
niccol avatar

niccol

Totally Zenned

Join Date:
Apr 2009
Posts:
2,138
Plugin Contributions:
1

Re: How do I remove the link from my logo?

Having that link is pretty standard on a lot of sites but if you really want to get rid of it then you need to look at a file :

includes/templates/youtemplate/common/tpl_header.php

At about line 70 you will see:

    <div id="logo"><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">' . zen_image($template->get_template_dir(HEADER_LOGO_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT) . '</a>'; ?></div>

You want to change this to:

    <div id="logo"><?php echo  zen_image($template->get_template_dir(HEADER_LOGO_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT) ; ?></div>
5 Jan 2010, 7:03 PM
#3
flopez01 avatar

flopez01

New Zenner

Join Date:
Dec 2009
Posts:
6
Plugin Contributions:
0

Re: How do I remove the link from my logo?

That worked!

Thanks.