Well, let me start with the first experince i had while creating the blog. Many of you might have wanted to put adsense (or any other programs like YPN) ads in the header of your blog. It is easy to put adsense in other areas like side bar, with the integrated 'add page element feature' in bloger beta. Here I present in you the way to put adsense in your blog heading.
1. Edit your template and go to the 'Edit HTML' tab.
2. Go to the following section in the HTML code
<div id='header-wrapper'>
<b:section class='header' id='header' maxwidgets='1' showaddelement='no'>
<b:widget id='Header1' locked='true' title='Webmaster Tips and Tricks (Header)' type='Header'/>
</b:section>
</div>
3. Make the follwing changes.
maxwidgets='2' showaddelement='yes'
Now the code will look like
<div id='header-wrapper'>
<b:section class='header' id='header' maxwidgets='2' showaddelement='yes'>
<b:widget id='Header1' locked='true' title='Webmaster Tips and Tricks (Header)' type='Header'/>
</b:section>
</div>
4. Now come to 'Page elements' tab.
Now you will be able to see 'add page element link' above the heading. Yes thats it. You are done. Now you can use that link to add a page element. From the list of options select 'HTML/JavaScript'. And in the content area paste the adsense code that
you got from google.
The ad will be placed above the Heading. You can drag it make it below the heading.
Try it out and maximize your revenues.
No comments:
Post a Comment