• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 614
  • 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!!
0
cbossert
Asked:
cbossert
1 Solution
 
rhyspCommented:
In the template file, make the following change to header.php

   <div id="header">
to
   <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.
0
 
cbossertAuthor Commented:
This worked great! Thank you for your help I have another related question if you want another 500 points!!
http://www.experts-exchange.com/Web_Development/Blogs/Q_22722680.html

0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

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