Posts Tagged 'link'

How to Make Your Banner (Header) a Link

This tutorial will help you turn your banner into a link by editing the header.php file. Most sites use this as a convenience for visitors helping them navigate back to the home page.

Finished Look:

The highlighted section will be a link to your chosen URL.

Go to:

wp-content / themesĀ  / k2 / header.php

Scroll to around line 38 and you should see this code <div id=”header”>. Replace this code with the one below.


<div id=”header” role=”banner” onclick=”location.href=’http://www.YOURDOMAINHERE!!!.com/’;” style=”cursor: pointer;”>

Back End Example:

Your header.php file should look something like this.


Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 3 other followers