How can I remove the link from my main logo image in the header?
When i click on it, it links to my main page.
I dont want it to
Cheers....Jaz
How can I remove the link from my main logo image in the header?
When i click on it, it links to my main page.
I dont want it to
Cheers....Jaz
includes/templates/YOUR_TEMPLATE/common/tpl_header.php
find:and replace withCode:<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>
Code:<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>
Development Manager @ JSWeb Ltd - suppliers of Applepay/Googlepay for Zencart
20 years with Zencart !
cool.
thanx mate
Below is the code update for version 1.3.8a.
Replace
withCode:<?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, '','', 'id="logo"' ) . '</a>'; ?>
Code:<?php echo zen_image($template->get_template_dir(HEADER_LOGO_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT, '','', 'id="logo"' ); ?>
~ Matt
http://www.gearedlite.com
Is there a way to customize the link that the main header image loads to? so instead of loading my main page, I want it to load a specific url.