Tuesday 25 August 2009

How To Place Google Adsense to the Header (Above the Title)

If you want to add Google Adsense to your header for instance above the title you can by adjusting your template to give you the option of adding more than one widget to the header area.

1. Login to Blogger and navigate to Layout > Edit HTML

2. Back up your template as a precaution by downloading the full template to your computer

3. Check the Expand Widgets Template box

4. Find the following code. Easiest way is to select CTRL + F to bring up the toolbar. Then enter &ltdiv id='outer-wrapper'> into the find box:


<pre></head>

<body>
<div id="'outer-wrapper'">

<div id="'header-wrapper'">
<b:section class="'header'" id="'header'" maxwidgets="'1'">
<b:widget id="'Header1'" locked="'true'" title="'Blog" type="'Header'">


</pre>

5. Replace maxwidgets='1' with maxwidgets='3'

6. Save Template

7. Navigate to Layout > Page Elements and view the new option to add a gadget to the header area

Add a Gadget to the Header to insert Google Adsense

8. Click on Add a Gadget and select Google Adsense.

9. Choose the type of ad unit you want. For this example I chose a new linked 728x15 ad unit from the dropdown format menu for an ad that would sit above the title. Configure colors if necessary. Color blending is usually done automatically by Blogger according to the color schema of your template.

10. Click Save

11. Click View Blog to see your new Google Adsense unit in place. all going well your new ad unit should appear look something like the image below

Seja o primeiro a comentar

Post a Comment

Followers

BLOGGER TRICKS © 2008 Template by Dicas Blogger.

TOPO