How to Make Your Header Image Clickable


Did you ever wonder how to make your header image clickable? Here’s what I did to my other site. Note that some steps differe depending on the theme you ar using.

Go to header.php, find the following code:

<div id=”header”>

And change it to:

<div id=”header” onclick=”location.href=’http://yourdomain.com/’”;” style=”cursor: pointer;”>

Voila, your header is now clickable!

If you are using a theme that has a code that looks like this:

<div id=”header”>

Then you paste this code instead:

<div id=”header” onclick=”location.href=’http://yourdomain.com/’”;” style=”cursor: pointer;”>

Does it work?

Popularity: 84% [?]

Random Posts

    You can leave a response, or trackback from your own site.

    This website uses IntenseDebate comments, but they are not currently loaded because either your browser doesn't support JavaScript, or they didn't load fast enough.

    Leave a Reply

    New Blackberry phones on sale | Thanks to Business Opportunity, Highest CD Rates and Registry Software