Your Ad Here

.

0 Replace Status Message With Adsense Code In Blogger

Buzz This1

Example Image

Showing Post with label..Show all post.To some of us (including me) this message may look ugly above the posts, whenever we use a search keyword or click on any label on a blog this status message arises by default on the top of the particular post or list of posts. Why not to use this space (that this status message eats) for our ads or say adsense ads? To do so follow the simple steps below, its too easy!

First of all, log on to your blogger account, now go to Layout > Edit HTML > (Take Backup of your template) > (check) Expand Widgets Template, and find (Ctrl+F) the following series of code:

Code:
<b:includable id='status-message'>
<b:if cond='data:navMessage'>
<div class='status-msg-wrap'>
<div class='status-msg-body'>
<data:navMessage/>
</div>
<div class='status-msg-border'>
<div class='status-msg-bg'>
<div class='status-msg-hidden'><data:navMessage/></div>
</div>
</div>
</div>
<div style='clear: both;'/>
</b:if>
</b:includable>


Now, replace the above code in your template with the series of code below;

Code:
<b:includable id='status-message'>
<b:if cond='data:navMessage'>
<div align="center">
Your Adsense Code Here
</div>
<div style='clear: both;'/>
</b:if>
</b:includable>

In the second series of code above replace the text area in RED with your adsense (or any ad) code and save the template.

Now, browse your blog, click on any "Label" and see & feel the difference!

0 Comments Count

Leave A Comment