Tips and Tricks for Bloggers Headline Animator

Tips and Tricks for Bloggers

Post Footer – Customize Template | Blogger Tips and Tricks

In this tutorial, we discuss the various ways you can customize the Post Footer and change the Blogger template. The steps will cover how to change the “Posted by author”, “Comments”, “Labels” links in the Post Footer, replacing them with other names or pictures.

This is how a typical Post Footer looks like. It includes the author's name, time of the post, number of comments, number of backlinks, icon for readers to email the post, icon for you to edit your post, as well as Labels.

Update:

If you are looking to change the text, alter some settings or re-arrange the positions of the Post Footer elements,you can go to Template -> Page Elements and click the “Edit” link on the Blog Posts widget. You will see a screen like this:-

You can read our Arrange and Customize Blog Posts Elements article to learn a little about these options. Even though this is a simple way to make minor adjustments, you will not be able to insert pictures, signatures, change the author's name, etc. To do these other things to the Post Footer, you may want to read the rest of our guides here and customize your Footer.

Before we proceed to alter the template, remember to backup the existing template. Go to Template -> Edit HTML. Check the “Expand Widget Templates” box. Backup your template by copying the template and saving it in an MS Notepad text file. You can also click the “Download Full Template” link that appears right after the words “Before editing your template, you may want to save a copy of it.”

Posted by author

1. Change author's name

The name of the author is the name shown in your Blogger Profile. Should you want to keep this name, but assign a pen name or nickname to your postings, go to Template -> Edit HTML and click the “Expand Widget Templates” box.


Scroll to where you see these lines. For most browsers, you can press Control-F to search for this phrase “data:post.author”


<div class='post-footer'>
<p class='post-footer-line post-footer-line-1'>
<span class='post-author'>
<b:if cond='data:top.showAuthor'>
<data:top.authorLabel/&gt; <data:post.author/&gt;
</b:if>
</span>

Replace the part of the code (shown in red) with whatever name you want to call yourself. This is what you will see in your Post Footer:-
2. Remove “Posted by”

What if you do not even want the words “Posted by”? Well, you will have to delete both the codes (shown in blue and in red). Replace them with the words you want to display. The result is this:-

3. “Posted by” below Post title

Some blogs have the “Posted by author” just beneath the Post Title. If you want to do that, cut the entire code in the template and paste it below this line:-


<div class='post-header-line-1'/>

<span class='post-author'>
<b:if cond='data:top.showAuthor'>
<data:top.authorLabel/> <data:post.author/>
</b:if>
</span>

This is what you will get:-

You can also place an image instead of having a name. However, this image should be small. Crop or resize the image using photo editing tools. There are free ones like Google's Picasa which you can use. Upload the image onto free hosts like Google Page Creator and Google Groups. We also have a rather comprehensive list of free Image Hosts and File Hosting Services in our article on Manage Blogger Image Storage Space. Check out those sites and choose one that is fast, reliable and enables hotlinking to the uploaded files. Take note of the Image URL.

In the above codes, instead of replacing the blue and/or red parts with a name, insert this code instead:-


<a href="URL of your Blog"><img src="Image URL" /></a>

Remember to key in the URL of your Blog as well as the Image URL. This gives you an image link so that when people click the picture, they will be brought to your Blog's main page. If you do not want a link, you only need to insert this code:-

<img src="Image URL" />

The final code will look like this:-

<div class='post-footer'>
<p class='post-footer-line post-footer-line-1'>
<span class='post-author'>
<b:if cond='data:top.showAuthor'>
<a href="URL of your Blog"><img src="Image URL" /></a>
</b:if>
</span>
5. Image AND Name

Let us now combine the above to have BOTH your image and name in the Footer. For example, you may want to have something like this:-

The code will be changed to this. Change the text. The image code can be either before or after the text.
<div class='post-footer'>
<p class='post-footer-line post-footer-line-1'>
<span class='post-author'>
<b:if cond='data:top.showAuthor'>
Author<img src="Image URL"/>
</b:if>
</span>
Timestamp

If you do not want the time stamp at all, scroll down the template and delete these lines:

<span class='post-timestamp'>
<b:if cond='data:top.showTimestamp'>
<data:top.timestampLabel/>
<b:if cond='data:post.url'>
<a class='timestamp-link' expr:href='data:post.url' title='permanent link'><data:post.timestamp/></a>
</b:if>
</b:if>
</span>


Now we continue with customization of the “Comments”, “Labels” and other icons shown in the Blogger Post Footer.

Comments

1. Settings

If you simply want to enable or disable Comments, login into your Dashboard and under Settings -> Comments, you will see the options for “Comments”. You can either “Show” or “Hide”. You can choose “Hide” so as not to show the Comment link, without deleting existing comments.

2. Change the word “Comments”

Should you want to retain the Comment link but change the word “Comments” to something else, scroll to this part of the template:-



<b:if cond='data:post.allowComments'>
<a class='comment-link' expr:href='data:post.addCommentUrl' expr:onclick='data:post.addCommentOnclick'><b:if cond='data:post.numComments == 1'>1 <data:top.commentLabel/&gt; <b:else/><data:post.numComments/> <data:top.commentLabelPlural/&gt; </b:if></a>
</b:if>
</b:if>
</span>
In my spiderman example, I wanted to use the phrase “Friendly Neighbors”. Where the blue code is, I replaced it with the phrase “Friendly Neighbor”, the singular form when there is only 1 comment. At the red part of the code, I replaced it with the plural form “Friendly Neighbors” when there are 2 comments or more. The resulting code is:-

<b:if cond='data:post.allowComments'>
<a class='comment-link' expr:href='data:post.addCommentUrl' expr:onclick='data:post.addCommentOnclick'><b:if cond='data:post.numComments == 1'>1 Friendly Neighbor<b:else/><data:post.numComments/> Friendly Neighbors</b:if></a>
</b:if>
</b:if>
</span>

And this is what you will see:-

Links to Post

If you do not want this in your Post Footer, go to Dashboard, under Settings -> Comments, you can choose to “Show” or “Hide” the “Backlinks”. If you select “Hide”, the backlinks to your Post and the words “Links to this Post” will not be displayed.

Email Post icon

In your Dashboard, under Settings -> Basic, you can see a query “Show Email Post links?” If you choose “Yes”, you will see the little envelope image for viewers to click to email the Post to other people. Should you choose “No”, that image will not be displayed.

Labels

1. Change “Labels” name

To suit the theme of your Blog, you may want to change the word “Labels” to something else, like “Subjects”, “Topics”, “Categories”, “Genre”, etc. Scroll to this part of the template:-

<p class='post-footer-line post-footer-line-2'>
<span class='post-labels'>
<b:if cond='data:post.labels'>
<data:postLabelsLabel/>
<b:loop values='data:post.labels' var='label'>
<a expr:href='data:label.url' rel='tag'><data:label.name/></a><b:if cond='data:label.isLast != "true"'>,</b:if>
</b:loop>
</b:if>
</span>
</p>

Substitute the part of the code (shown in red) with the word that you want to use. The result is this:-
2. Image instead of name

In Part I of this article, we went into details on how you can use an image to replace the author's name. If you want to have a picture to replace the word “Labels”, the procedure is the same. Instead of the name to replace the part of the above code (shown in red), insert the image code. The resulting code would appear like this:-

<p class='post-footer-line post-footer-line-2'>
<span class='post-labels'>
<b:if cond='data:post.labels'>
<a href="URL of your Blog"><img src="Image URL" /></a>
<b:loop values='data:post.labels' var='label'>
<a expr:href='data:label.url' rel='tag'><data:label.name/></a><b:if cond='data:label.isLast != "true"'>,</b:if>
</b:loop>
</b:if>
</span>
</p>

Digg!!! A Social Bookmarking Website and my Experiences | Blogger tips and tricks

Digg!!! A Social Bookmarking Website And my Experience :









How to Use Digg :

  • Using Digg is a little bit tricky but easy to handle. According to my experience the most important thing is unique content. Because the more unique is the content, more your Posts are Digg by readers. Though I never get a chance that my posts are get Digg for more than 50 times…That’s why I am writing this post my own so you Digg it :-) and I hope u ll like it .
  • As there is no option of Tags, like in Delicious .So use your keywords with the Title of your post while submitting in Digg. (e.g) keyword = best blogger templates

Digg!!! A Social Bookmarking Website | Best Blogger templates

Or

Digg!!! A Social Bookmarking Website | Best-Blogger-Templates

  • You can use your keywords in short summary of the post while Digging.
  • Most important step is category where you are going to post your summary. Select the right category.(e.g) Software ,business etc.
  • Using these steps u can easily get 200 visitors per day.


How Digg Promotes your website:

  • When posts are Digg more than 100 times Digg gives it a very good rank in google listing.. Try to get more clicks on “Digg it” Button.
  • I experienced one more thing with Digg.. Google only shows 2 to 3 links of your website associated with Digg.
  • If you have posted more than 100 posts in Digg , Digg may show the backlinks in google in just 4 hours. :-)
  • These results might stay in google on the same position till 2 to 3 days and when you don’t work again results are removed from google’s lists.
  • But don’t worry when you work a little but more after 3 days and post some more posts in Digg with the same keyword, your results are back in google :-)
  • Sometimes Google doesn’t show your Digg results in google..it is because your Direct site link is coming somewhere on the same page. So its better if google gives a preference to your website link that is not associated with any other website.
  • Use my Tips and Digg this Post if you like it:-)
Please keep it in mind I don’t know what’s behind Google and Digg. I don’t know the algorithms its just my personal experiences.



Up and Down Button Widget For Blogger | Tips and Tricks for Blogger

If you check my blog, on the Right Side you will see two arrows pointing in the opposite direction. Try clicking on both of them. The one pointing up will take you to the Top of the Page, while the one pointing down will take you to the Bottom of the Page. You must have seen the Back To Top of Page link in many blogs, but I felt that there is a need of a Go Down button. Yup, that's what I am calling it, a "Go Down" link because that's the work it does. You can also call them Scroll To Top and Scroll To Bottom links.



Now adding this Widget/Gadget/Plugin to your Blogger Blog is very easy and requires simple HTML code. Adding the Back To Top Page Icon is very easy, but for the Go Down Icon you will have to add a single line of HTML code in your blog template. But its very easy to do.

Step 1:
Login to your Blogger account. Visit the Layout of the blog for which you want to add these buttons. Now click on Add A Gadget option and select the HTML/Javascript option and paste the following code in it


<a style="display:scroll;position:fixed;bottom:260px;right:5px;" href="#" rel="nofollow" title="Back to Top"><img style="border:0;" src="http://i31.tinypic.com/2vtqqt3.png"/></a>

<br/>

<a style="display:scroll;position:fixed;bottom:225px;right:5px;" href="#GoDown"><img style="border:0;" src="http://i32.tinypic.com/16lle91.png"/></a>

Click on Save and refresh your blog.

Step 2:
Now you will be able to see both the icons on your blog. However you have one more step remaining. Now click on Edit HTML option and select the Expand Widget Templates option.

Now search in the blog template and paste the following code just above it .


<a name='GoDown'/>

Now click on Save Template and refresh your blog. The Back To Top and the Go Down will be working properly.

Now there will be some people who would like to customize this Widget for their blog. So for them I have highlighted some of the code in Red colour. Here are the following modifications that you can make.

1. Widget appears on Left Side
2. Increase/Decrease the distance of the Icons from bottom
3. Add different icons

1. If you want the widget to appear on the Left hand side instead of Right side, then replace right:5px; with left:5px; at both the places in the code.

2. If you want to Increase/Decrease the distance between the icons or from the bottom, then change the value of bottom:260px; and bottom:225px;

3. If you want different icons then just replace the url in red with the url of your icon. Important: It would be better if you copy the image and upload it yourself. Both the image url's are highlighted in Red colour. Just replace it with your own image url

Author Comments - Different Styles | blogger tips and tricks

Bloggers generally welcome constructive comments and feedback on their posts. Among the ways to encourage comments are to remove the “nofollow” tag and to add a Recent Comments widget into the template. Comments highlight issues that readers might have faced, and the author's reply to these comments may be useful to other readers as well. If you have many comments posted in your blog, it would be nice to add different styles to the author's comments to make them stand out from the rest. Readers with questions on commonly asked issues may easily find their answers in previous posted comments. This tutorial shall explain how the author comment styles can be added to the template.

After 7 months of blogging, we have today hit the 300,000 visitors mark. It is not a big deal to many bloggers but it means a lot to us, knowing that whatever leisure time we had given up to write these articles was worth the while. Thanks to all! While we were reviewing our articles earlier, we realized that there were so many comments in several of them that we had a hard time finding our own comments. We have therefore decided to highlight our comments to make it easy for our readers to sieve through and check if their issues have been addressed. An important point to note is that some of the answers we posted may have been superseded by events and you are still free to post the questions again.

Modify Template

Since this article is about setting a style for the comments that appear after a post, we assume that you have configured your Blog to display the comments. Check Settings -> Comments and select “Show” Comments.

Before you begin to do anything, remember to backup your template. Go to Template -> Edit HTML. Click the “Download Full Template” link to save a copy of your template.

Click the check-box next to “Expand Widget Templates”.

Press Ctrl+F and search for the word “comments-block”. You should come to these lines. Insert the code (shown in red):-

<dl id='comments-block'>
<b:loop values='data:post.comments' var='comment'>
<dt class='comment-author' expr:id='"comment-" + data:comment.id'>
<a expr:name='"comment-" + data:comment.id'/>
<b:if cond='data:comment.authorUrl'>
<a expr:href='data:comment.authorUrl' rel='nofollow'><data:comment.author/></a>
<b:else/>
<data:comment.author/>
</b:if>
<data:commentPostedByMsg/>
</dt>

<b:if cond='data:comment.author == data:post.author'>
<dd class='blog-author-comment'>
<p><data:comment.body/></p>
</dd>
<b:else/>

<dd class='comment-body'>
<b:if cond='data:comment.isDeleted'>
<span class='deleted-comment'><data:comment.body/></span>
<b:else/>
<p><data:comment.body/></p>
</b:if>
</dd>

</b:if>

<dd class='comment-footer'>
<span class='comment-timestamp'>
<a expr:href='"#comment-" + data:comment.id' title='comment permalink'>
<data:comment.timestamp/>
</a>
<b:include data='comment' name='commentDeleteIcon'/>
</span>
</dd>
</b:loop>
</dl>

Comment Styles
After you have inserted the above code, scroll upwards in the template and Ctrl+F to search for the word “comment-body”. you should have this code:-



#comments-block .comment-body {
margin:.25em 0 0;
}
#comments-block .comment-body p {
margin:0 0 .75em;
}
According to our Poll, the second most commonly used template is the Rounders template. In Rounders, this is what you will find:-

.comment-body {
margin:0 0 1.25em;
padding:0 0 0 20px;
}
.comment-body p {
margin:0 0 .5em;
}
In other templates, you should see “comment-body” classes similar to the above. This is the current style for the display of all comments after the posts. To have a different comment style for the author, copy what you have in your template, paste and rename the class. For example, in the Minima template, we shall add the code (shown in red):-

#comments-block .comment-body {
margin:.25em 0 0;
}
#comments-block .comment-body p {
margin:0 0 .75em;
}
.blog-author-comment {
margin:.25em 0 0;
}
.blog-author-comment p {
margin:0 0 .75em;
padding:5px 10px;
border:1px dotted #254117;
background:#C3FDB8;
}
You can name the new class anything you want by changing the “.blog-author-comment” to something else. (Don't omit the full-stop in front.) Just remember to rename that bit of code discussed in our earlier section. In our example, we have used the same margin settings but added a padding (space around the text) of 5px at the top and bottom, and 10px on the left and right. We introduced a thin border surrounding the text and added a background color. For more color codes you can refer to our Color Code Chart. The author's comments block will look like this:-

If you are using the Rounders template, follow the same steps as above, copy the “comment-body” styles and add the new classes. For example, the code can look like this:-

.comment-body {
margin:0 0 1.25em;
padding:0 0 0 20px;
}
.comment-body p {
margin:0 0 .5em;
}
.blog-author-comment {
margin:0 0 1.25em;
padding:0 0 0 20px;
}
.blog-author-comment p {
margin:0 0 .5em;
padding:0 0 0 20px;
color:#F6358A;
font-style: italic;
}

Did you notice that we have not changed the margins and padding? The
author's comments will be different though as there is now a text color and the font-style is in italics. This is what you will see:-


If you are using other templates, do the same by copying the current “comment-body” styles and inserting the new classes and new styles. Experiment with the different style options and colors. If you need more ideas, you can refer to the list of properties in our article Links - Hover and Rollover Effects.
You can even insert a background image to the author's comments and change the font to a larger font or a different font typeface. The code will look like this:-

.blog-author-comment p {
margin:0 0 .75em;
padding:5px 10px;
font-size:120%
font-family:courier;
background: url("URL OF IMAGE");
}

Try out different blog author comment styles and settle on the one that best suits you. Refresh the blog every time you make the change.

Adsense Products Referals in Blogger

If you have an AdSense account, this latest launch of Google AdSense Referrals 2.0 is something you must look at. In addition to the traditional Google products, there is now a very long and varied list of products that you can include in your Blogs and offer your readers. In contextual ad targeting, the AdSense ads that appear in your Blog may not always be relevant, especially if you do not have a consistent theme in your posts. With AdSense Referrals, you are now able to pick the specific products that you like, and are paid the referral fees. In Blogger.com, it is easy to insert an AdSense for content widget but not a Referral unit. This article will explain how you can fill the “shopping cart”, customize the ad colors, insert the code and have the Referral ads appear just before or after your Blogs posts.

Before we begin, we assume that you already have an AdSense account. If you don't, you can always sign up for a Google AdSense account. AdSense is by far one of the preferred ways of monetizing your Blogs and they have various features which can earn you that extra income and revenue through blogging.

Setting up the Referral ads

1. Country and Language

Login to your AdSense account, click the “AdSense Setup” tab and choose “Referrals”. Somewhere near the top, you will see the default country and language that your Referral ads will be based in. If your readers are mainly from another country or are using another language, change the preferences and click “Show”. Since this is a new feature, some of the languages may see fewer advertisers.

2. Ad Format

Although you can begin to view the products and add them to the Shopping Cart, it may be wise to set the ad format at this stage. Some advertisers have predetermined ad formats which may not fit into your desired size. Choose the “Ad format” size that you like.

3. Choice of products

It is time to go shopping for the relevant ads. There are three ways you can do that:-

a. Keyword

Enter a keyword that is in line with your theme. You will be shown a list of products that match the keyword (maximum of ten keywords). You can click “Add this keyword to cart.” When you use this option, Google AdSense will rotate the ads to match this keyword and new products will be added automatically without further action at your end.

b. Category

You can browse by category. View the products. If you find a suitable category for your Blog, you can add the entire category to the Shopping Cart. New products in the category will be automatically rotated to show the highest-paying product ads in your Blog. You can have up to ten categories added into the Shopping Cart.

c. Products

You can also choose the specific products (a maximum of fifteen) to be added to your ad unit. View the products and click the link. You will be shown the referral fees and the terms. There may be different text ad formats and image ad formats that you can choose from. Where the ad size does not fit into the ad unit format that you have earlier determined, you will see a message “This size not compatible with currently chosen ad format.” Choose the one that fits and the product will appear in your Shopping Cart.

4. Best performing ads

You can tick the “Pick best performing ads” option to have Google AdSense display ads that they believe will bring you more revenue. Since it is based on Google's contextual targeting and analysis, the ads you chose may not be shown.

5. Advanced Options

Click “Advanced Options” and you will be asked to choose a color combination and a channel. Most of us would like the colors to blend with our Blogs. If that were the case, do not use the “Default Google palette” but choose instead any of the “AdSense palettes.” We shall talk about changing the colors later.

You can specify a custom channel to track the performance of these ads. This is particularly useful if you have several blogs and you want to know how well the ads in each blog have performed. Some may want to try out different ad positioning and assign a tracking channel to each of the ad units to monitor the clicks.
6. Colors customization

Once you are done, click “Continue” and you will be shown the Referrals code that you can add to your web site. The code looks something like this:-



<script type="text/javascript"><!--
google_ad_client = "pub-0000000000000000";
google_ad_width = 160;
google_ad_height = 600;
google_ad_format = "160x600_as";
google_cpa_choice = "xxx";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "0000FF";
google_color_text = "000000";
google_color_url = "008000";
//-->
</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

The parts in red
are the color codes. You can change the color values and assign
different colors to the Referral ad border, background (bg), link, text
or url.

7. Placement of code

To insert the code into the Blog, go to Template -> Page Elements -> Add a Page Element either in your sidebar or post body area, and select HTML/JavaScript. Copy and paste the entire JavaScript code and save.

If you would like to have AdSense Referrals appear in every individual post, between your post title and post body, or between your post body and post footer, you may follow this guide AdSense Code in Blogger Post Body, parse the code and place it into the appropriate part of your template.

Under the current rules, you can place up to three AdSense Referral units and three standard AdSense for content units on a single webpage. Therefore, if you have placed the AdSense Referral code into your template, and there are five posts in your page, the ads will only be shown in the first three posts.

Adsense Code in Blogger Body

One of the known tips for improving the performance of your Google AdSense ads is knowing where to place the ads. In this guide, we shall discuss the modification you can make to your Blog template to have your Google AdSense ads appear between your post title and post body, or between your post body and post footer. Also, we shall have the AdSense ads appear on every individual post.

Choosing a best placement for your AdSense ads will attract more attention; attention leads to clicks; and clicks bring you AdSense revenue. Easier said. While people may have theories on where the ideal AdSense spot ought to be, there is really no standard answer because it depends very much on your Blog's layout, contents, theme, etc. If you have been following the changes made to our Blog, you would agree that we are no guru at this. We had merely placed the ads where they fit aesthetically and not where they will get the most attention. Nevertheless, if you would accept our two cents' worth of opinion, try to put yourself in the minds of your readers. Ask questions like why readers visit your Blog, which section of the Blog are they most interested in, and whether placing an ad at a particular area will distract, annoy or please them.

Many people believe that having AdSense ads just before or after the Blog posts will best optimize their performance. For the purposes of this article and to give you an idea how it would look, we have inserted the AdSense code into our template to have the ads appear immediately below the article and before the post footer. If you think you would like to do the same for your Blog, the following are the steps you should take.

Update: A section on Using Blogger Feature to insert the AdSense Ads after every post.

Using Blogger Feature

If you merely want an Ad to appear after every post or every few posts, use this Google feature instead. Go to Template -> Page Elements and you see in your layout the heading “Blog Posts”. Click the “Edit” link at the bottom right corner. You will see this screen.


We assume you have a Google AdSense account. If you don't, you can create one using the same login through your Google account. You will be assigned a Publisher identity number which shall appear in all your AdSense codes.

Tick the “Show Ads Between Posts.” You can select whether to show ads after every post or after several posts. In accordance with AdSense TOC, a maximum of 3 Ads will be displayed. Choose the ad format and color scheme. Save the changes and refresh your Blog to see the Ads.

While using this Blogger feature is simple and easy, you may want more control over the position of the Ads. For example, you may want it between the title and posts rather than after the posts. The following guide will show you how you can do that.

More Ad locations

Log in to your Google AdSense account.

Go to AdSense Setup -> Products and choose “AdSense for Content”.

Next, select “Ad unit” and follow their instructions on picking the size of ad, color combination, and so on, right till the end when they automatically generate a HTML code for you. Copy this code and paste it into Microsoft Notepad. (If you are a WinXP user, click the Start button at the bottom left corner of your screen. Under All Programs -> Accessories, you should see the MS Notepad icon.)


Parse the AdSense code

You will have to parse the google adsense code
.click here
Your final parsed code will be like this.
&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;pub-0000000000000000&quot;;
google_ad_width = 336;
google_ad_height = 280;
google_ad_format = &quot;336x280_as&amp;amp;quot;;
google_ad_type = &quot;text&quot;;
google_ad_channel = &quot;&quot;;
google_color_border = &quot;FFFFFF&quot;;
google_color_bg = &quot;FFFFFF&quot;;
google_color_link = &quot;000000&quot;;
google_color_text = &quot;000000&quot;;
google_color_url = &quot;000000&quot;;
//--&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;
src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;

Insert code into template

Login to your Dashboard. Go to Template -> Edit HTML and click the box next to “Expand Widget Templates”.
Block copy the entire HTML code for your site that you presently have and save it in a separate text file in MS Notepad. You can also click the "Download Template" link to backup the template. This is one of the two necessary steps whenever you want to change the template. The second step is to “Preview” the new changes, and save the changes only when you are satisfied. The backup you have saved in a text file will come in handy when you accidentally click to save the changes without previewing them. With a backup, you can easily restore the template to the prior state if need be.

Now search for post.body through your browser's search function (Ctrl+F for Firefox and IE). You should see these lines:-
<div class='post-body'>
<p><data:post.body/></p>
<div style='clear: both;'/> <!-- clear for photos floats -->
</div>

If you want the AdSense ads to appear between the post title and post body, add the following code above the orange lines. If you want the AdSense ads to appear immediately after every individual post, add the following code below the orange lines. The code to add is:-

<div style='float:left;'>
AdSense Code
</div>

The AdSense Code is the one you have amended above in MS Notepad. Do NOT save the template, but click the Preview button to see if you like the placement of the AdSense ads.

Do you want to have the AdSense code on the left of your text as shown in this screenshot?

Choose the smallest AdSense format like 125x125. Insert the AdSense code here:-

<div class='post-header-line-1'/>
<div style='float:left;'>
AdSense Code
</div>
<div class='post-body'>
<p><data:post.body/></p>
<div style='clear: both;'/> <!-- clear for photos floats -->
</div>
If you want the Ads on the right of the text, like this:-

Insert the code as follows:-

<div class='post-header-line-1'/>
<div style='float:right;'>
AdSense Code
</div>
<div class='post-body'>
<p><data:post.body/></p>
<div style='clear: both;'/> <!-- clear for photos floats -->
</div>
Set the AdSense ad margins

If your AdSense ads are too close to the edge, you may set a margin in the style tag.

<div style='float:left; margin-left:30px'>
AdSense Code
</div>
Should you want to align the AdSense ad to your text, you can specify a margin or padding around the entire AdSense code. The code you can use is:-


<div style='float:left; margin:5px 10px 15px 20px'>
AdSense Code
</div>

The first number 5px is for the top margin, 10px is for the right margin, 15px for the bottom margin, and 20px for the left margin. You should of course change these values to suit your template.

Preview the template and if you are satisfied, save the template and refresh your Blog to see the new positions of your AdSense ads.