Forums / Templates, Stylesheets, Page Layout / How to put a link on the whole logo image surface toward the starting page

How to put a link on the whole logo image surface toward the starting page

Locked

Started by chrismonroe on 16 Dec 2007, 6:55 PM · Views: 1,079

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
16 Dec 2007, 6:55 PM
#1
chrismonroe avatar

chrismonroe

New Zenner

Join Date:
Aug 2007
Posts:
20
Plugin Contributions:
0

How to put a link on the whole logo image surface toward the starting page

Hi,

I would like to put a link on my logo image so that by clicking on any part of my logo image in the header, one can by redirected to my starting page.

I wrote these lines of code in my tpl_header.php file:

<div id="logoWrapper">
    <div id="logoWrapper"><?php echo '<a href="">' . zen_image($template->get_template_dir(LOGO_WRAPPER_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'../images/PowerBoosters8.jpg'). '/' . LOGO_WRAPPER_IMAGE, POWERBOOSTERS) . '</a>'; ?></div>

It is obsviously not correct as the result is that the upper left corner only of the header logo is clickable:

https://www.powerboosters.eu

Any help would be very appreciated. Thank you.:frusty:

Chris.

16 Dec 2007, 6:58 PM
#2
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,691
Plugin Contributions:
0

Re: How to put a link on the whole logo image surface toward the starting page

Check the dimensions in your languages/english/CUSTOM_TEMPLATE/header.php

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.