lashbrooke
Member
Posted 11 months ago #
Hi,
I would really appreciate some help with this one. I have added this code into my header.php template to make my header clickable back to my homepage...
<div id="art-main" onclick="location.href='http://www.bondibeachplaygroups.org.au/';" style="cursor: pointer;">
The problem I am having is now the whole page is clicking back to my homepage. Any suggestions?
Cheers
nice, a non-WordPress site ;)
You'll need to make sure you're closing the div properly after the header..
however, you'd be far better off wraping the <img> in an <a> as such:
<a href="http://www.bondibeachplaygroups.org.au/"><img ...src="...play..."></a>
lashbrooke
Member
Posted 11 months ago #
My site is still in dev, the link however in this code is going to the current live version : )
Thanks for your response, however, would you mind expanding out the entire link I need to put in, I am not a strong developer so I am not entirely following what code you are suggesting I need to enter in.
Cheers
S