Skip to main content

Replacing The Blog Title With An Image

Those of you who are artistic, and handy with Photoshop or another image processor, eventually decide that having a blog labeled in text is boring. So you spice it up. And one of the easiest things you can do is to replace the blog title with a picture.

(Question): Does this blog use a Layouts template? If so, read about Customising The Header In A Layouts Template Blog, first.

(Note): The code below has extra line breaks liberally inserted, to avoid yet another post / sidebar alignment problem.

The hardest part in doing this is to get the image hosted somewhere. If you use Flickr, Photobucket, et al, this is not an issue (hopefully you know the URL). You can't do image upload when editing your template. If I want my image hosted by Blogger, this is what I do.
  • Create a new post in the blog, and Title it "Photos" or whatever.
  • Upload my picture to the post.
  • Look carefully at the code created in the upload. In my case, I have
    <a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"
    href="http://photos1.blogger.com/blogger2/
    560/527000594325287/
    1600/RBS%20Header%201.gif"><img
    style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;"
    src="http://photos1.blogger.com/blogger2/
    560/527000594325287/
    320/RBS%20Header%201.gif"
    border="0" alt="" /></a>
  • My picture is now
    http://photos1.blogger.com/blogger2/
    560/527000594325287/
    1600/RBS%20Header%201.gif
  • Very important: Save the post as Draft. I don't want my title image showing up in a post, in the middle of the blog. Untidy to say the least.

Go to template edit.
  • Find the coding for the blog title.
    <ItemPage><a href="<$BlogURL$>"></ItemPage>
    <$BlogTitle$>
    <ItemPage></a></ItemPage>

  • And replace it with
    <ItemPage><a href="<$BlogURL$>"></ItemPage>
    <img src="http://photos1.blogger.com/blogger2/
    560/527000594325287/
    1600/RBS%20Header%201.gif">
    <ItemPage></a></ItemPage>

  • Save, and Republish.


Easy, no? That part was. To make it as it is now (see the top of the blog), you'll have to do just a little more work.

>> Top

Comments

Anonymous said…
nice work, i use the same way to add nifty icons as links to my blog. however, for the title bar there is a problem. i have a custom domain name for my blog, and right now blogspot doesn't allow displaying 400p images from a non google adress (for example; any custom domain)...

so, if you have a custom domain, do not host your title bar (or any image larger than 400p) at blogspot but at some other place. i've read that they're working on this.

this limitation is currently labeled as a bandwidth control limitation for the blogspot servers.

hope this information is useful to you, (reader)!
CreativeTeXt said…
Awesome tutorial. Been busy for hours fixing this issue. Finally the right code on the right place, ie the header div.

Thanks man.

Popular posts from this blog

Adding A Link To Your Blog Post

Occasionally, you see a very odd, cryptic complaint I just added a link in my blog, but the link vanished! No, it wasn't your imagination.

Embedded Comments And Main Page View

The option to display comments, embedded below the post, was made a blog option relatively recently. This was a long requested feature - and many bloggers added it to their blogs, as soon as the option was presented to us. Some blog owners like this feature so much, that they request it to be visible when the blog is opened, in main page view. I would like all comments, and the comment form, to be shown underneath the relevant post, automatically, for everyone to read without clicking on the number of comments link. And this is not how embedded comments work.

What's The URL Of My Blog?

We see the plea for help, periodically I need the URL of my blog, so I can give it to my friends. Help! Who's buried in Grant's Tomb, after all? No Chuck, be polite. OK, OK. The title of this blog is "The Real Blogger Status", and the title of this post is "What's The URL Of My Blog?".