Making your header clickable to a URL
-
Hello Everyone,
I have been struggling for quite some time with how to make the wordpress header a clickable image directing my readers back to my home page. This is vertually impossible since the header is a background image and not an element you can typically click on. I have found a couple of solutions but they would work on IE and not other browsers like Firefox. After pulling my hairout, this is what I came up with.
1. I created a 1×1 pixel tansparent image and uploaded it to my server.
2. I edited the header.php file and added the following code immediately following the<div id="header">line:<a href="http://www.yoursite.com/blog/"><img src="images/pixel_trans.gif" width="760" height="200" /></a>Note: just make sure the tansparent image is the size of your header.
3. Save and upload
If you want to see it in action, check out http://www.paisleypetunia.com/blog/
Good luck!
Tom
The topic ‘Making your header clickable to a URL’ is closed to new replies.