Clickable header image
I would like to have, as many people, a clickable header image. My website is http://www.zujewicz.pl and header.php looks like this:
I read a lot of stuff at different forums and the only suitable thing was pasting
<div id="headerimage" onclick="location.href='http://www.zujewicz.pl/';" style="cursor: pointer;">
but this worked partially. The header image became clickable, but so did the rest of the page. Can you help me in any way. Thanks a lot in advance.
AnonymousSeptember 23, 2012 at 4:55 am #32689
Don’t dump the code here. I’ve removed it from your post.
Follow Ron’s suggestion.
Thank you very much for the answers (and sorry for pasting whole code), but it still does not work…
http://www.zujewicz.pl – I removed this
<div id="headerimage" onclick="location.href='http://www.zujewicz.pl/';" style="cursor: pointer;">and ticked “Link header image to front page” option and nothing happened…
AnonymousSeptember 24, 2012 at 1:02 am #32691
You are probably testing it on homepage only. Go to some other page and move cursor over header image.
There is no reason to link header image to homepage on homepage itself!
AnonymousSeptember 24, 2012 at 1:04 am #32692
And, don’t edit parent theme files. That may cause lots of problems.
You must be logged in to reply to this topic.