How to Add an Advertisement Below Post Title in Blogger

Posted by Lasantha Bandara File Under : change template, html, post 0 Comment

This tutorial explains how to display an advertisement under post title in a Blogger blog posts. To add a ad banner just below post title, first you need to go to "Edit HTML" page of your blog.

After that find this code (You will find it 2 times):

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

Blogger Edit HTML

Now paste your advertisement code just below above code (you have to paste it twice, because above code available in 2 places).

Note: If you need to display your advertisement only in post pages, wrap your advertisement code like this:

<b:if cond='data:blog.pageType == "item"'>
Your Ad Code
</b:if>

Look at this image to understand it well:

Ad Below Post Title in Blogger

Save your Blogger template.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.