Sunday, July 3, 2011

Blogger : Put Adsense Code in Different Position Inside Blogger Post Body

To put adsense code inside the blogger post body first you go to Design Tab of your blog and then click on Edit HTML. Now click on Expand Widget Templates and find the below mentioned code:


<data:post.body/>


Make Adsense Ads Float in Left:

<div style='float:left;'>

<--adsense code-->

</div>


Inside your original adsense code (parsed)instead of <--adsense code-->
and paste it before the code that is mentioned first.

Make Adsense Ads Float in Right:


<div style='float:right;'>

<--adsense code-->

</div>


Inside your original adsense code (parsed)instead of <--adsense code-->
and paste it before the code that is mentioned first.

Make Adsense Ads Float in center:


<div style='float:center;'>

<--adsense code-->

</div>


Inside your original adsense code (parsed)instead of <--adsense code-->
and paste it before the code that is mentioned first.

Make Adsense Ads Float at the End of the Post:


<div style='float:right;'>

<--adsense code-->

</div>


Inside your original adsense code (parsed)instead of <--adsense code-->
and paste it after the code that is mentioned first.

Make Adsense Ads Float Before the Title:


<div style='float:right;'>

<--adsense code-->

</div>


Inside your original adsense code (parsed)instead of <--adsense code-->
and paste it before this code

<div class='post-body entry-content'>


Note: You need to parse the code if you want to put adsense inside the blogger post body.You can parse your adsense ads code from the following site:

http://www.blogcrowds.com/resources/parse_html.php

Share your Views!!!

Image may be subjected to copyright

1 comment:

  1. Thanks for this article,
    I have been able to add Adsense just below post but how do make it align at the center. Thanks.

    ReplyDelete