November 8, 2008
If you would like to have a custom picture (image or icon) beside your Post Title, follow these instructions.
And if you'd like to place some background behind it, read this article.
Sometimes Post Titles can seem boring and dull. Just by adding some little change, we can make them nicer...

For example, I want this picture to appear beside my Blogger Post Title:
I've uploaded my picture (icon) on a free web host Tinypic (...or Photobucket...), now I've got to create a small code:<img src="http://i37.tinypic.com/29gftki.jpg" style="border-width: 0px;" />
Ok. I've added style="border-width: 0px to remove borders from my picture...you can put some if you want, just change the width to 2px (for example).And instead of my picture URL, you should place yours (you'll get a URL from your free web host, in my case Tinypic...)
Next, I have to decide where's my picture going to appear.....above title, left side, right side, or under?
It's just a matter of where are you going to place your code....If you're ready, let's go. First, back up your little template. Then go to:DASHBOARD ► LAYOUT ► EDIT HTML ► and click on EXPAND WIDGET TEMPLATES (in the upper right corner)....Use CTRL + F to find the following section in the code (it will not be in colors, of course):
<b:if cond='data:post.url'>
<a expr:href='data:post.url'><data:post.title/></a>
<b:else/>
<data:post.title/>
</b:if>
...I have to place my picture code here....If I place it after:<a expr:href='data:post.url'><data:post.title/></a>
<b:else/>
<data:post.title/>
</b:if>
- red part of code, my picture will be ABOVE
- green part of code, my picture will be on the LEFT
- yellow part of code, my picture will be on the RIGHT
- blue part of code, my picture will be UNDER
Here's the example. I want my picture to be ABOVE the post title, so the code will look like this:
<b:if cond='data:post.url'><img src="http://i37.tinypic.com/29gftki.jpg" style="border-width:0px"/>
<a expr:href='data:post.url'><data:post.title/></a>
<b:else/>
<data:post.title/>
</b:if>
In orange is my picture code that I've just placed.<a expr:href='data:post.url'><data:post.title/></a>
<b:else/>
<data:post.title/>
</b:if>
NOTE:
- the example is made in Blogger Minima Template
- you can use whatever picture you like... you can use this one if you like too
- you can also get much better results, this one is just an example
- adjust the size of pic as you want (in graphic editor), so it fits
- you can also play with Post title padding in HTML code for smoother adjustments
- good luck
Smile!
***UPDATE***
...somebody asked is there a way to show a different picture in every other post title. Well, there is. And it's quite simple.
When you're composing your post, add the following part of code:
<img src="URL OF YOUR PIC" style="border-width: 0px;" />
....in the POST TITLE. Look at the pic:
...placing it here, will make your icon appear at the beginning......you can place it at the END, or even in the middle of the text....
Smile!

















30 comments:
great trick! i did it on my blog! thank you...
Thank you for support....Smile!
Hi there,
thanks for your sharing=)
just a question, is it possible to have different pictures placed beside different blog title?
Hey...
Yes it possible. When you're composing your post, add the following code in the TITLE of your post:
<img src="URL OF THE PIC" style="border-width: 0px;"/>
...we've set a border to 0 (so the pic doesn't have one)...
...if you place the code BEFORE the Post Title, it will appear at the begging....and so on...
...you can place it even in the middle of the sentence.....
Smile!
Thanks for your great tuts. I only discovered your site two days ago.
Is it possible to add a personal background to my blog? I mean can I make or take a hazy picture and put that behind my postings and side bars to give my minima blog a personal touch?
Can I also do something nice to the empty space next to the side bars?
::Cybele::
Of course. Whatever you think of...Make a picture, and I'll help you stitching it to your background...
As for the sidebar space, you can add more gadgets (like pictures, some text...)
Email me for instructions with background. I know you did. A day before. But you've misspelled your e-mail address.....
Smile!
Very kind of you to help me change my background. Can I download any background from the internet and use it for the time being? Later on I want to make one myself from one of my own pictures. Right now I don't have the time to do this. But once I know how to replace a background it shouldn't be too difficult (I hope)
Of course....if it's free to use. Choose one that you like, and I'll lead you through installation....
...please, contact me on the e-mail, so I can write you detailed instructions.
Smile!
Love your tutorial, I got everything ok but then I decided to remove my pic. I went to my HTML but I couldn't find any part of the code used to put the little pic beside the post title. The weird thing is that the pics are still there even after I publish posts. I didn't change templates or anything but I did add some stuff to the HTML...stuff that really doesn't matter to the post titles. Do you know what's going on?
Thanks!
Hey...
The easiest way is to check the URL address of the pic (try right click -> view image).
Then, in your LAYOUT -- EDIT HTML, click on "Expand widget templates" and use CTRL + F to locate the address.
When you find it, DELETE it.
Smile!
Thanks! I did search for the URL before I asked you for help but I guess I didn't expand the widget templates (even though I could have sworn I did).
Thanks again.
brilliant idea, thank you.
hallo..i'm trying to do the things mentiond above but i'm using old template instead of beta template..the html code is quite different..i dont know where to add the code in the old template code..can you help me with this?
Hey Mz_sylvia....
I've never used a classic template...Sorry..
Hey,
great tutorials u have here! Anyway, I was wondering. I want to create a new picture icon,the problem is i want my graphical icon when clicked link to another page of my post.
Like for instance ur graphical 'home', 'how-to', 'template' when i click it, it is link to another post.
Hope u can help
Thank u
Hey Far...
1. search for some tutorials about horizontal menu in Blogger
2. to create separate pages (well, imitating them really) read this:
Make a separate pages in Bloggger
Smile!
can i put image with .gif format?
Thank you very much. :)
hi there :) ..can you help me adjusting the image with the text? i'd like to 'move' the text up or lowering the image,
http://onestoponepiece.blogspot.com/
Greatly apreciated ^^ GBU
--
just found it! it is by adding 'align='middle'
tq anyway :)
Hi:
Can I add different mouseover text to each post title using a similar method?
Two questions
1. in what part of the code would I insert the align=middle
2. The photobackgroud color that I have set for my blog automatically pops up, is there a way to fix this so that it blends in better with the title?
The post title icons seem to cut off in IE... how would i fix that, because on all other browsers it seems to be ok?
Hi,
In the update : Putting the image code beside the post title.
Would this not be picked up by search engines as part of the title of the blog and indexed as part of the title in results?
Thanks;
Paul.
Coniqua,
it's "text-align: center;", and you have to place it under:
.post h3 {
Smile!
Heey my friend visit me your blog follow me key
Hi, I enjoy using your tutorials.
I have added an image under my title. Using one of your other tuts, I have moved my Labels under the title as well. However, the Labels appear under the image.
What I'd like is to have the Labels appear BETWEEN the title [above] and the image [below.] I've done a little experimenting but to no avail.
Any help you can offer would be awesome.
Thank you, Grace
www.gracepete.com
hi, i want different pictures to be placed at each post. once i folloed ur steps to place different pictures for each title. but the picture appears with its actual big size. i want picture to be small at the end of post title. how can i minimize picture size when i place different picture for every post?
Hi! I am trying to add an icon to a blog, and the bottom of the icon does not line up with the bottom of the text. How do I fix that?
Cheap Louis Vuitton handbags sale and Cheap Louis Vuitton bags sale and Cheap Louis Vuitton purses sale and Cheap Louis Vuitton luggage sale and Cheap Louis Vuitton Speedy sale and Cheap Louis Vuitton Travel sale and Cheap Louis Vuitton Leather sale and Cheap Louis Vuitton Canvas sale and Cheap Louis Vuitton Monogram sale and Cheap Monogram Canvas bags sale and Cheap Damier Ebene Canvas bags sale and Cheap Damier Graphite Canvas bags sale and Cheap Damier Azur Canvas bags sale and Cheap Damier Canvas bags sale and Cheap Monogram Vernis bags sale and Cheap Monogram Idylle bags sale and Cheap Monogram Multicolore bags sale and Cheap Monogram Mini Lin bags sale and Cheap Monogram Watercolor bags sale
Say it...