Title: Image Header Link With Dark Maple
Last modified: August 18, 2016

---

# Image Header Link With Dark Maple

 *  Resolved [VoLiTioN](https://wordpress.org/support/users/volition/)
 * (@volition)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/image-header-link-with-dark-maple/)
 * Moshu, I came across the Dark Maple theme, and I wanna say from the start that
   it’s fantastic.
 * But, there’s one thing I want to do. I’d like to make the header image as a clickable
   link to the main page on my site. And get rid of the blog title text. I’ve searched
   and found solutions for the Kubrick theme, but I really don’t want to mess anything
   up… What can I do?
 * Blog’s located here: [http://www.redshiftradio.com](http://www.redshiftradio.com)

Viewing 7 replies - 1 through 7 (of 7 total)

 *  [skulled](https://wordpress.org/support/users/skulled/)
 * (@skulled)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/image-header-link-with-dark-maple/#post-303816)
 * Open your `header.php` file inside the theme directory.
 * You will see something like this:
 * `
    <div id="masthead"> <!--div masthead starts--> <h1 id="header"><a href="<?
   php ... ?>"><?php ... ?></a></h1> <div class="slogan"></div> </div> <!--div masthead
   ends-->
 * You should be able to safely change it to this and that should solve the problem:
 * `
    <div id="masthead"> <!--div masthead starts--> <!--<h1 id="header"><a href
   ="<?php ... ?>"><?php ... ?></a></h1>--> <div class="slogan"></div> </div> <!--
   div masthead ends-->
 * You are just basically commenting out the `<h1>` part.
 *  Thread Starter [VoLiTioN](https://wordpress.org/support/users/volition/)
 * (@volition)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/image-header-link-with-dark-maple/#post-303824)
 * Are you sure it’s header.php? because I see nothing like that inside the file.
 * Again, the theme I’m using is Dark Maple. Are you sure you’re not confusing that
   code for another theme?
 *  [skulled](https://wordpress.org/support/users/skulled/)
 * (@skulled)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/image-header-link-with-dark-maple/#post-303830)
 * Sorry my bad ..
 * Its your `index.php` file.
 * And here’s the exact code from it:
 * `<div id="masthead"> <!--div masthead starts-->
    <h1 id="header"><a href="<?php
   bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></h1> <div class="slogan">
   <?php bloginfo('description'); ?></div> </div> <!--div masthead ends-->
 * Change it to:
 * `<div id="masthead"> <!--div masthead starts-->
    <!--<h1 id="header"><a href="
   <?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></h1>--> <div class="
   slogan"><?php bloginfo('description'); ?></div> </div> <!--div masthead ends--
   >
 *  Thread Starter [VoLiTioN](https://wordpress.org/support/users/volition/)
 * (@volition)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/image-header-link-with-dark-maple/#post-303847)
 * Well, that code got rid of the text, but I still want to make the header image
   a link to the main page. 🙁
 *  [skulled](https://wordpress.org/support/users/skulled/)
 * (@skulled)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/image-header-link-with-dark-maple/#post-303848)
 * Try adding this to the code.
 * Change this:
 * `<div id="masthead"> <!--div masthead starts-->`
 * to:
 * `<div id="masthead" onclick="location.href='www.redshiftradio.com';" style="cursor:
   pointer;"> <!--div masthead starts-->`
 *  Thread Starter [VoLiTioN](https://wordpress.org/support/users/volition/)
 * (@volition)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/image-header-link-with-dark-maple/#post-303853)
 * Awesome! I copy and pasted the code into the single.php, searchpage.php and archives.
   php and it seems to work just fine.
 * Thank you very much. 🙂
 *  [skulled](https://wordpress.org/support/users/skulled/)
 * (@skulled)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/image-header-link-with-dark-maple/#post-303861)
 * Glad to be of help 🙂

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Image Header Link With Dark Maple’ is closed to new replies.

## Tags

 * [headerimg](https://wordpress.org/support/topic-tag/headerimg/)

 * 7 replies
 * 2 participants
 * Last reply from: [skulled](https://wordpress.org/support/users/skulled/)
 * Last activity: [20 years, 4 months ago](https://wordpress.org/support/topic/image-header-link-with-dark-maple/#post-303861)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
