107 How to create a custom header in Blogger

My blog template is based on the Denim theme, but since I didn't particularly like the header, I replaced it with my own graphic, along with a link back to my site. Want to know how? Read on!

First, you'll need to create your new blog header using your favorite image creation software (eg: Paint, CorelDraw, Gimp, Photoshop...). Take a look in your blog template HTML and make a note of the width of your blog header; you'll probably want your new blog header to be this width too! Don't worry about the height: it can be as tall or as short as you want.

Once you've made your new blog header, you'll need to tinker with the HTML of your template a little bit. Make sure you backup your existing template before doing anything more, just in case something goes wrong and you need to pout your current template back in place instead. Then look for the following section of code:

<div id='header-wrapper'> <b:section class='header' id='header' maxwidgets='1' showaddelement='no'> <b:widget id='Header1' locked='true' title='Header (Header)' type='Header'/> </b:section> </div>

The elements highlighted in bold need to be changed. So:

  • Change maxwidgets='1' to at least 2 in order to be able to add another element in the header section.
  • Alter showaddelement='no' to showaddelement='yes' to be able to add a different element to the header section (your new image)
  • Replace locked='true' with locked='false' so that you can later remove the old header.

Now save your template, and go back to the layouts section in your dashboard. You'll notice that you can now add another element to your blog header!

If you only want to add your new blog header, and don't want to have this linked to your home page, you can easily do this by choosing to add a "Picture" element to your blog and uploading your new header.

However, if you prefer to link your header to your homepage (as in the default Blogger templates), you'll need to do a little more work first. Upload your image to a remote site (there are many free hosting accounts available, such as FreeImageHosting.net) and make a note of the full address of your file, including the extension (eg: www.yoursite.com/images/yourimage.jpg). Then, choose to add a "HTML/Javascript element and add the following:

<img src="http://www.yoursite.com/images/yourimage.jpg">

Replacing the image source with your own image address of course! This is the code needed to display your new blog header. Now to make this image become a link back to your blog's home page, you would need to add link tags as follows:

<a href="http://yourblogaddress.blogspot.com"><img src="http://www.yoursite.com/images/yourimage.jpg"></a>

Save this element and view your blog. You should see both the original blog header and your new blog header. Make sure your new blog header looks the way you want it to, then go back to edit the layout.

This time, click on the "header" element (the original blog header), and choose "remove page element". Once you do this, the original header will be completely removed, leaving only your customised one (a good reason to have saved a backup of your template, just in case!).

And there you go: your very own customised blog header! Enjoy!

Technorati Tags:

107 Comments:

25 July 2007 04:26 CrazyKinux said...

Just implemented it; works like a charm!!

15 August 2007 22:27 kate5kiwis said...

thanks *ever* so much, your tutorial is so helpful. my blogger template has no original header so it was a bit of a fiddle to make the new one fit...
i made a few special modifications myself (guess the movie line lol)
but...
i did it!!!!!

2 September 2007 05:48 Dolores said...

How did you add buttons next to your header? I think maybe there was a how-to on that, but I can't find anything on it now. Thanks.

2 September 2007 14:52 Amanda said...

Hello Dolores,

For the header and buttons in my header section, I used a combination of the custom header (described above) and HTML tables, in which each table cell contains an image link (hope this makes sense!).

I will shortly be making some adjustments to the header section though, using DIV elements and CSS styling to make a similar effect.

If you would like some detailed explanations of the possible methods for this, send me an email and I'll get back to you about it.

Best wishes,

Amanda

21 October 2007 06:47 ashley &amp; jeremy parsons said...

HELP!! I am trying desperately to add a custom header. I did what you said in changing the HTML code, and then added page element, uploaded a picture, but it just would NEVER load. I tried it all different ways with a small enough file (76KB), so I have no idea what I am doing wrong!!

21 October 2007 10:11 Amanda said...

Hello Ashley and Jeremy,

Many Blogger blogs are currently having problems uploading images. This is a problem at Blogger's end, and is something they are trying to fix now.

If you need an alternative method to use images, take a look at This Post which explains a different way to link to images.

I understand your frustration as I am also unable to upload images, but I hope this will help you. Feel free to email me if you need any more help with this.

Best wishes,

Amanda

7 December 2007 11:10 Chocolate Monkey said...

WOW!

Thanks a ton for this great tutorial!

i was a bit bummed that my new cool 3 column template couldnt have a custom header but u have shed light on my blog!

It looks great and the tutorial was easy to follow!

again, thanks a lot!

24 June 2008 23:37 lifeMac said...

I know I'm a bit late to the party here- but what if your blog doesn't have that section of code? I can't find it anywhere.

25 July 2008 04:53 Jack said...

Thanks a lots!!

27 July 2008 21:03 pandaa bear said...

so you cant add any html tag to change the font or color of the header??

1 August 2008 01:10 CATC said...

i've done everything that you said. image hosted it and that and put all the right code in and it just hasn't shown up. what do i do?

4 August 2008 22:24 Greg Barr said...

Thanks for the write up, great tip well explained. That html/javascript page element is very powerful. I embedded over 200 lines of html and css to give the blog the same header as my corporate web site -- including the fully css-driven navigation with multi-level dropdowns. Neat.

28 August 2008 18:53 Matt said...

Hi there,

Is there any way to increase the width of your custom header?

28 September 2008 14:35 Ashe said...

I chose a blogger template without a header section at all, and I'm trying to figure out how to properly add one so that I can use your tricks for placing in a custom header. I've tried plugging in code from your site (and altering as needed for my situation), but I still seem to be missing something.

How to you add a header section to a template that doesn't have one to begin with?

24 October 2008 09:29
Rahul Jadhav said...

Thanks a lot amanda...i was looking for a way to add an image link to the header....do my blog header....thanks a lot

20 November 2008 18:16 Lisa said...

Ah! Perfect! Thanks!

2 December 2008 03:28 Amy said...

O MY GOODNESS!!!! You have no idea how long I have been trying to find an answer to this question that acutually worked for me!!

THANKYOU!

23 December 2008 00:31 Jason White said...

Hi,

How can I write my header in blood?

Thanks

Jason

22 January 2009 13:11 Rhian said...

Thank you for this great tutorial,
but what if i want a background colour for my post section but not attatched to the header? Can I do that?

Thanks

Rhian

28 January 2009 18:09 Jamie Henning said...

Absolute coolness! Have been trying to figure out to delete the stupid header text forever and substitute with my own logo/header. This was perfect! EXACTLY what I had been searching for! Thanks a gazillion!

--Jamie

31 January 2009 23:57 Dan and Holly said...

Thank you, thank you!!! I have been trying to fix my header for ages!!!!

6 February 2009 09:37 Brad Farless said...

Jason, I'm no pro, but you would probably have to make the title part of the image to get that kind of effect.

20 February 2009 19:08 Flo said...

Hi Amanda,

hope this post is not too old for you to answer my question.
I made a header with Photoshop, 660 pixels wide since my blog has the Minima Stretch template.
Problem is, when I saw my blog, I could see two empty spaces to each side of the header. So I widened up the image and uploaded it. I saw it fine, but other people say the image was too large and they could only see like 2/3 of it.
What is the problem? Is it a screen size issue, should I use the 660 pixel wide image?
Thanks a lot and congrats on such a great site.

http://www.flohabla.blogspot.com

25 February 2009 03:43 Jess said...

I did what you said, and I have a lovely clickable header now, but I don't know how to put text on top of the image.
Is that possible?
Please help! Or direct me to a site that will help. I've been searching all over google and can't seem to find the advice I need.
Thank you so much.
(jessica.sapoznick@gmail.com)

25 February 2009 05:36 Jess said...

Hi,
I think I left a comment earlier but I have a different question now. I am using your code but whenever I save it, the picture does not show up on my page. (it shows a small box with a question mark) When I go back in to look at the code, a / has been added after "my image url" and before >.
Is this what's making the image not show up?
Any help would be much appreciated.
jessica.sapoznick@gmail.com

9 April 2009 22:11 Kenneth Ignacio said...

THANK YOU SO MUCH!!!

17 May 2009 20:06 Svuio said...

Great help man, thanks! Cheers!

13 June 2009 22:52 Fiazio said...

You have helped so many souls, lol.
Many people forget to not include the style tags.
Also Its easier to copy the css at the start of the template .

15 August 2009 04:53 Terence said...

hi! how does this method affect SEO? Will the crawlers still be able read any keywords since you removed the original header? Thanks

19 November 2009 19:48 WEgif said...

Great inputs, if you need animated pics for your header, visit http://www.wegif.com/


Gif Photo Animation

6 January 2010 13:06 Rajj said...

hi, this post is very helpful to me and managed to put custom google search on blogger header. But i don't know how do i move google search on the same level of Blog title on this blog http://itshumour.blogspot.com I appreciate your help in this. Thx in advance...

2 February 2010 18:33 Lori @ Couponomic Stimulus Package said...

AWESOME! Worked great! Now I have a few more things to get ready and I'll be ready to put my new header up!!! Thanks!

17 February 2010 19:23 Nicole said...

thanks sosososososososososososo much!!!!!! i love my new header... one question: can i get that stupid border to go away? i'm using the minima template... thanks again! :) boyswhowearbows.blogspot.com

18 February 2010 16:16 riat8 said...

Thank you so much for the tutorial. Really helpful and would tweet this post please.

Thanks!

20 February 2010 22:55 Jonathan said...

Hi!

I am only elven *cough* noob *cough* and can't find the header width, or I'm too stupid too realize what it is. Where would it be located?

23 February 2010 22:09 Crimson Butterfly Scrapz said...

I have a question. I have an image I created, that is complete with buttons at the bottom of it. Ex: Home, Tutorials, PTU, FTU, FREEBIES, etc...I want to use that entire image as a header, so that if people click on Home, it goes to my home page. If they click on Tutorials on my header, it goes to the tutorial section of my blog. Etc. Is there a way to do this? I see it on ALL KINDS of headers. Here is an example of one: www.gothicinspirations.blogspot.com
You will see what I am talking about. MY blog is:
www.crimsonbutterflyscrapz.blogspot.com
PLEASE PLEASE help! Thank you so much!!

20 March 2010 06:53 lirik said...

thank you so much

23 March 2010 20:14 Mutuelle sante said...

Works great. good tuto. Thanks

6 September 2010 09:41 Ayesha Sadiq said...

You have done a marvelous job! I am really inspired with your work.

16 September 2010 09:10 anand said...

how to place ads in the header section?

28 November 2010 03:39 GreenReviews said...

hi... just found this post, but my problem is that now that i have the picture up, i can't get it centered. is tehre a way to move the image up and over? or do i just have to make it larger?

8 December 2010 22:51 Jose said...

damn cool. but how do you get the "a:hover" thing over your text in the menu ? (# Home
# About # Contact etc.)
THANX A LOT

21 January 2011 15:50 YEEINGNG ♥ said...

Thankyou so muchh!! I've solved my problem which gave me lotsa headache! THANKYOU THANKYOU!! *HAPPYYYY*

1 February 2011 15:48 iPhone Center said...

Hello, I know this post is old but I could some HELP PLEASE. So I was able to do everything great.. Awesome Tutorial Thanks.

However the Template I am using appears to expand the background section of the header. The more I adjust the header size the more the background header expands. I am trying to sport one solid header with blog Name & Logo in it.

16 March 2011 11:37 monique said...

Wow. You really know a lot about business loans. Thanks for providing us with these pieces of information. It could really help people like me who want to start a new business...
Small Business Loans

26 March 2011 07:30 Dell toner expert said...

I'll going to make a custom header for our support blog and this tutorial would be of great help. Thanks.

9 April 2011 01:36 Carla M. said...

very helpful. was able to do it to mine thank you!! :)

25 April 2011 18:31 technovolution said...

amazing ! i can create many kind headers...
www.delavega.blogspot.com

4 May 2011 02:01 F.Melo said...

Thank you very much for your hint. Now I want to know if you can help me with this: I want to edit the header HTML so that the blog title stays side by side with another widget, and not so that the widdget stays under the blog title.

Thanks.

8 May 2011 19:19 TeckZip said...

I am trying to do this with my tech blog http://teckzip.co.cc/

16 May 2011 10:07 GeoTroy tuvlitea said...

hi...how are u today?

27 May 2011 19:09 Nitin said...

nice tutorial....i used it in my blog http://www.thegsmtricks.co.cc

2 June 2011 07:54 Alive Info said...

http://aliveinfo.cz.cc/custom-header-in-blogger/

5 June 2011 11:27 Penis Enlargement said...

I am thoroughly convinced in this said post. I am currently searching for ways in which I could enhance my knowledge in this said topic you have posted here. It does help me a lot knowing that you have shared this information here freely. I love the way the people here interact and shared their opinions too. I would love to track your future posts pertaining to the said topic we are able to read.

5 June 2011 11:29 VigRX Plus said...

Thanks for taking the time to discuss this, I feel strongly about information and love learning more on this. If possible, as you gain expertise, It is extremely helpful for me. would you mind updating your blog with more information

13 June 2011 10:44 New Song Lyrics said...

is there seo effect form create ucstom header???

13 June 2011 15:22 Cheshire SEO said...

Great tutorial, thanks for posting this, very helpfull!

19 June 2011 00:24 whatifcanchangeworld said...

What if we want to make the blogger name in center?

www.whatifqbank.blogspot.com

21 June 2011 14:47 Champaign Champ said...

is there a way to remove little space at the right side of my site's header?

28 June 2011 07:41 X ray technician said...

I write my short comment for you to give support for your site.I love reading other people's views on this. It really makes a person think. Thanks for the article.

7 July 2011 16:03 Joshua Smith said...

Many thanks for great and useful information. Take few minutes and turn your attention to outsource software development team, I know you it would be interested for enterprise companies.

15 July 2011 10:40
maiy said...

Cole Industries Inc. offers a wide variety of custom ball caps. Have your logo, company, or product put on any of our ball caps. Select from fitted, flex fit, velcro strap, buckle strap, or snap strap! All of our ball caps are quality 5-panel hats, with sturdy cardboard visors.

All of our ball caps are available in many colors, and can all be custom emboidered specifically for your needs.
Our custom ball caps are great for gifts, give-aways, trade shows, prizes, and much much more!

15 July 2011 10:42
maiy said...

When it comes to a hat of any kind, size matters. The best ball caps will do thing well: Suit your head properly. Fortunately, most ball caps are adjustable -- & there's a few styles to select from. Adjustable caps may offer the classic styling of a leather strap http://www.bestnewcap.com/ with a metal buckle, a plastic strap with snaps, or a simple cloth strap with fabric fasteners. In case you prefer, you can also discover a variety of baseball caps that are fitted to your measurements & provide Cheap Dallas Cowboys hats stretch for comfort.



Another thing a lovely ball cap ought to do is offer sufficient ventilation. Plenty of caps do this by incorporating side eyelets, but athletic styles that are made with jersey mesh, & hip trucker styles will also breathe well when you get overheated. Think about , how the fabric the cap is made from will breathe--you'll find ball http://www.bestnewcap.com/detroit-tigers-c-44.html caps made from polyester, cotton, wool & jersey mesh.

16 July 2011 17:37 General Chat said...

now this was what i am looking for, cool trick thanks!

17 July 2011 18:00 porn said...

Great Share! You made some decent points there. I looked on the internet for the issue and found most individuals will go along with with your website.

Free Porn Video
Free Porn Video
Free Porn Video
türk sikiş
business ethich
parmak izi okuyucuları
Free Porn Video
Free Porn Video
türk sikiş
Free Porn Video

18 July 2011 07:18 om onny said...

Well.. Your Post is Very good and Thanks so much for your sharing this information. Om Onny | Mercedes Benz Mobil Mewah Terbaik Indonesia | Toko Bunga

20 July 2011 08:20 ritu said...

 Gifts to Chennai, Flowers to Chennai, Cakes to Chennai,Same Day delivery all over Chennai
vist http://www.chennaionlinegifts.com

28 July 2011 20:59 Mustapha said...

Hi,
the code of header wrapper dont existe in my html code

1 August 2011 09:22 Cheap SSL said...

Gracias por compartir esta información útil! Esperamos que se continúe con el tipo de cosas que está haciendo.

4 August 2011 05:07 neha said...

 Gifts to Banglore, Flowers to Banglore, Cakes to Banglore,Same Day delivery all over Banglore

9 August 2011 03:10 Veron said...

Thanks for such a nice tips!!

13 August 2011 07:24 Dr. Armughan Riaz M.B.B.S, Dip Card said...

I do like the manner in which you have framed this problem and it does indeed give me some fodder for consideration. However, through what I have personally seen, I simply wish when the commentary pile on that people today stay on point and in no way embark upon a soap box of some other news of the day. Still, thank you for this superb piece and although I can not concur with the idea in totality, I respect the point of view.Love sms | High blood Pressure Symptoms | EECP PakistanPakistan Video | Blackhead Remover

13 August 2011 10:36 NBA Adjustable Hats said...

Thank you for your analysis and sharing, from your article I learned more.NBA Adjustable Hats

23 August 2011 12:14 retete said...

This really answered my problem, thank you!

29 August 2011 12:57 Cheap SSL said...

Once again you share fantastic post! I really love how it’s easy on my eyes and also the information are well written about blogging. I am wondering how I could be notified whenever a new post has been made. I have subscribed to your rss feed which ought to do the trick! Have a nice day!

30 August 2011 03:32 wireless security said...

Nice post. Thanks for sharing useful information.

8 September 2011 17:09 superbwebsitedesign said...

For the header and buttons in my header section, I used a combination of the custom header (described above) and HTML tables, in which each table cell contains an image link (hope this makes sense!).

I will shortly be making some adjustments to the header section though, using DIV elements and CSS styling to make a similar effect.
superb website design

12 September 2011 16:20 Cheap Flights said...

Many Blogger blogs are currently having problems uploading images. This is a problem at Blogger's end, and is something they are trying to fix now.

14 September 2011 17:03 free ecommerce store said...

Pretty good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I'll be subscribing to your feed and I hope you post again soon.

23 September 2011 23:09 Sita said...

Thank you so much!!

24 September 2011 18:52 irctc pnr status said...

thanks for putting this article - really you put some great information on your blog. i will love to refer this to my friends

30 September 2011 02:06 LoveHijau said...

Thanks a lot,it work, hopefully averthing will be good.D
Kawalan Biologi Alternatif Cegah Pencemaran

5 October 2011 07:26 Love and life quotes said...

Thats a very useful article........

7 October 2011 04:06 Dallas Home Security said...

The postings are very unique and also out standing performance with the new creativity and excellency with the new different ideas and concepts.Really I am waiting for some more new posts from you.Keep up your excellency and efficiency in this same levels.

12 October 2011 02:40 Cheap wedding dresses said...

Thank you! You often write very interesting articles. You improved my mood.I'll be back again.

13 October 2011 11:04 link wheel service said...

Blogger.com is a free blogging service owned by Google and it is very popular among new and seasoned bloggers alike. A great benefit of Blogger.com is that it allows you a lot of control over the look and feel of your blog.
An original header creates a good first impression with your visitors, so why not get creative and surprise your readers with something special? It’s not as difficult as you might imagine…

20 October 2011 20:34 Joshua Smith said...

A lot of thanks for this great tips. Casino affiliates always look for casino programs to increase their revenue income from best casinos or poker rooms.

28 October 2011 07:55 Joshua Smith said...

Thank you for sharing with us great online review. For auto owners who is searching for new cars, get online auto quotes from top car insurance companies.

1 November 2011 10:37 Joshua Smith said...

We appreciate your help. Turn your attention on homeowners insurance companies from best home insurance providers.

9 November 2011 09:00 Cheap Flights said...

I chose a blogger template without a header section at all, and I'm trying to figure out how to properly add one so that I can use your tricks for placing in a custom header

16 November 2011 16:12 hcg said...

Oh wow, this got every one going - fascinating input mixed with a good read.

17 November 2011 15:33 worldwide tour and travel guide said...

blogger template without a header section at all, and I'm trying to figure out how to properly add one so that I can use your tricks for placing in a custom header

3 December 2011 11:25 Wholesale Products Directory said...

visit us wholesale products directory..

3 December 2011 11:26 Wholesale Jewelry said...

visit us for wholesale jewelry......

3 January 2012 04:58 IT Support said...

Well … all I can say is, wow. This is an impressive collection of resources, thank you for taking the time to put everything together.IT Companies Perth

9 January 2012 09:13 smithhogg said...

Really appreciate this wonderful post that you have provided for us. I assure this would be beneficial for most of the people.
essay help | uk essay writing | essay writing service

3 February 2012 04:19 SEO Services Company said...

Nice stuff you got, very interesting to read.
Well, I do have also in my sleeves, if you have time don't forget to visit
SEO Services Company

Post a Comment

Browse through the Archives

All existing posts are still available to view while I'm working on the site, albeit seen in a much simpler interface. Feel free to browse through the archives to find tutorials, templates and articles to help you build a better blog:

Blog Archive

© Blogger Buster 2010 Home | About | Contact | Hire Me