• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 617
  • Last Modified:

Make header image hyperlink to home page or main page.

Hello Experts!

I would like to use this template http://themes.wordpress.net/columns/1-column/4127/im-okay-black-10/
but I want to have the header image as a hyperlink to the main page or home page. I know this should be a quick and easy solution but I can't figure it out. Please leave detailed instructions or code, first correct solution recieves 500 points. Thanks!!
1 Solution
In the template file, make the following change to header.php

   <div id="header">
   <div id="header" onclick="document.location.href='/'">

Replace '/' with the root location of your site.

To make the cursor turn into a hand when you hover over it, open style.css and add
   cursor: pointer;
under #header {

This is the easiest way to get it working, but will require that the user has javascript. Let me know if you need further clarification.
cbossertAuthor Commented:
This worked great! Thank you for your help I have another related question if you want another 500 points!!

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Tackle projects and never again get stuck behind a technical roadblock.
Join Now