Zen Follower
- Join Date:
- Dec 2006
- Posts:
- 141
- Plugin Contributions:
- 0
Header logo clickable to another site
I want to change my header logo to have a clickable link to another site - how do I do this?
scratching my hair out here :(
Views: 853
Zen Follower
I want to change my header logo to have a clickable link to another site - how do I do this?
scratching my hair out here :(
Totally Zenned
Basically you need to open includes/templates/template_default/common/tpl_header.php
and find:
<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>
Change to:
<div id="logo"><?php echo '<a href="http://www.new_domain.com"> ' . zen_image($template->get_template_dir(HEADER_LOGO_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT) . '</a>'; ?></div>
save to includes/templates/your_template/common/tpl_header.php
Zen Follower
Excellent - thank you :)
Fields marked required must be completed.
Tell staff why this post should be reviewed.