This is a little ‘problem’ i ran in to when trying to customize a theme… a custom header design will quite often feature a logo or text and by default, wordpress will also display the blog’s name and tagline superimposed over the header.
The end result is a mess of text/images and clickable text which takes you back to the homepage. You can of course move the blog name and tagline to the left or right or change the size/font etc… or you can delete it compeltely and just have your header image as your header.
But now you’ll run in to a little problem – how to make the header image clickable and link it to the homepage. I did a little research and stumbled upon the answer.
Go in to header.php, and replace the red code below with the green code. Problem solved
<div id=”header”>
to
<div id=”header” onclick=”location.href=’http://siteaddress/’;” style=”cursor: pointer;”>
Update: I wrote this over 3 years ago, please read the comments for further help / solutions!






Pingback: Wordpress clickable header « Gregatustra
Pingback: Fjerne Bloggnavn og info fra header. « Raptabs fotoblogg