22 Aug 2009, Posted by christie in Blogging Bytes, 14 Comments

The simplest way to put a clickable header image into the Thesis theme


There are plenty of sites that can tell you how to add a clickable header for Thesis using an image, but this is the quickest, with no code for you to think up on your own. This will take a matter of seconds. This quick fix is only for people who have not already done a lot of customization to your custom.css file – more specifically to the #header or its sub-elements, #logo and #tagline, because it may not work as expected when you already have a lot of references to those things in your custom.css.

Clickable Header Generator

1. Find out how long and how wide your image is. If you don’t know, use Photoshop or GIMP or at least Windows Paint. Write down the dimensions.

2. Upload your image to a folder in your domain and write down the absolute URI where it is. Don’t use a relative path. Example – my header’s URI is http://www.miscbytes.com/wp-content/themes/thesis_151/images/miscbytesheader.png. See, when you go to that URI you can see my header. So make sure you know the path for your header image.

3. Now the fun part! Go to the Clickable Thesis Banner CSS generator provided by DoubleMule. Enter the dimensions of your header image plus its URI into the generator and get your code!

4. In WordPress, go to Appearance – Thesis Custom Styling and paste the code from DoubleMule into your custom.css file. (Hey, just for fun, make a backup copy of custom.css before you do that).

5. Once you click the Little Ass Save Button, you now have a clickable header that is your image! If you want to refine the alignment (default is centered) or distance from the header image to the Thesis code that follows it, here is some additional information from DoubleMule. My own header image is 900 x134, and I think it fits great.

Bonus: Move Nav Menu Below Header

Now your header is done, but the navigation tabs are at the default position of above the header. To get them below it without writing any code for yourself at all, be sure you have the Thesis OpenHook plugin, then in WordPress go to AppearanceThesis OpenHook. Select a hook – Before Header and put a check in both boxes.  openhook move nav menu below header
When you put the check in the box to Remove Thesis Nav Menu, some code will be generated.  Copy that into your After Header as you see in the picture and put a check into the Execute PHP on this hook. Click both Little Ass Save Buttons. Don’t forget that part!

You now have a clickable image header with the nav menu below it!

Last Wednesday evening when Ching Ya sent me my final header image, I knew that I didn’t have a long stretch to sit down and get involved with finding sources online and copying and pasting code and possibly getting everything screwed up. I only had a few minutes but I wanted to see my header NOW! I found the DoubleMule tutorial and got that header up there in just a few seconds. Then the OpenHook plugin with its wonderful checkboxes moved the nav menu and I was done. I wanted to share what I found in case some of you have your header image already and just don’t feel like getting into a lot of code.

Photo credit: PaintMyWordspaintmywords

Promote Post

Enjoyed this post?

14 Comments

August 23, 2009 2:22 pm

Klaus @ TechPatio

How did you know I was looking for something like this? :D

I noticed that my top header in Thesis (not public live yet) was only clickable where the tagline (or blog title, I think) used to be – as the text was hidden.

This might be the solution for me, will have to do a bit of trial & error to see how it works with me also having a 468×60 banner next to my header.

Thanks for the tip!!
Klaus @ TechPatio´s last blog ..I Luv’ CommentLuv – do you have it on your WordPress blog yet? My ComLuv Profile

August 23, 2009 3:59 pm

Christie

Ha – yep I was in the same boat just a few days ago! I was really glad to find that automatic code generator that gave me the instant header I wanted. Guess you will have to play with the placement of that ad -

August 23, 2009 8:27 pm

Extreme John

I hate all this Thesis talk! I recently had my blog design done and Im def not having it re-done in order to get the Thesis theme, as BADLY as I want it!
Extreme John´s last blog ..U Comment I Follow Blog List My ComLuv Profile

August 24 2009 11:32 am

Christie

John your blog looks wonderful! You have People to do all sorts of custom stuff. I don't have People - so I would have paid a lot of money to have a custom design. Thesis was the least expensive way I could find to have an awesome theme and not have it look like thousands of others. :)

August 24, 2009 3:27 am

George Serradinho

A nice little post, I guess it makes it easier for newbies to get it working. I suggest you start to learn CSS and PHP as then you will be able to make more changes and be confident when doing so.
George Serradinho´s last blog ..Thesis Floating Icons – Find out how I did it My ComLuv Profile

August 24 2009 11:35 am

Christie

Hi George, yes I do intend to learn CSS and PHP... One thing is that I feel good about getting very involved with code on a Saturday, but on a week night, just as I get a file open, I may hear, "Mom, I need to type my essay for history," so I get up so I won't delay my son's homework. I have two sons and only two PCs for the three of us. Hmmm...as soon as this blog makes its first $500 maybe I will treat myself to a new Dell dedicated to just me! ;)

August 25 2009 19:17 pm

Blogspot to Wordpress

I agree with George ..I hate PHp and CSS big time... In short I hate coding.. But recently few hours of interaction with George (Online) and the way he told me how he learn coding and things...made me think..and thanks to George even I started learning CSS and PHp..
Might take some time but I will become a kick ass coder soon :)

August 24, 2009 6:23 pm

Ana

Hello Christie,
So nice, to be on your blog.
I have seen you around in the various blogs, I frequent.
I have tried this method by DoubleMule various times, and I can’t seem to get it right.
The header image never seems to show up.
I can’t quite work out, how to add a image header at the moment.
Can you help?
Ana´s last blog ..23:23 My ComLuv Profile

August 25 2009 21:53 pm

MiscBytes

Hi Ana! It's great to have you here! Hmm..I'll be glad to try. One thing they ask is, see if you can go to the URL of your image - the path to it. As in http://yourdomain.com/wp-content/themes/thesis_151/images/yourheader.png. Check your path very carefully then you should see the header itself when you to go the URI that describes the path. Once you see that successfully, the Double Mule code generator should be great. Let me know how it turns out!

August 24, 2009 10:29 pm

Ching Ya

Can’t believe I missed this post!
I’m not a Thesis user, as much as I wanted to as the migration not allowing a ‘smooth’ transition from Blogger (or maybe it’s my own technical disabilities, ha.. ), you sure made a nice, thorough explanation on the how-to’s. You are indeed a go-to techie Thesis lady!

p/s: can’t help but cracks up upon reading ‘Little Ass Save Buttons’.. but aren’t they darn useful? ha..

@wchingya
Social/Blogging Tracker
Ching Ya´s last blog ..How Seriously Do You Take Blog Comments? My ComLuv Profile

August 25, 2009 9:54 pm

MiscBytes

:) Thanks Ching Ya! Yes, Thesis has the Big Ass Save Button, so OpenHook’s developer has a sense of humor and added Little Ass Save Buttons at each hook. :)

September 2, 2009 6:10 am

Cheap Hardwood Flooring

I noticed that my top header in Thesis (not public live yet) was only clickable where the tagline (or blog title, I think) used to be

March 17, 2010 2:58 pm

eslam melegy

I like this post very much , but I also want to add text links at the header and centering all the header data like blog title tag line and the text links
please waiting foe your replay

Posting your comment...

Leave A Comment


Subscribe to this comment via Email
CommentLuv Enabled
http://www.miscbytes.com/wp-content/themes/press