9 sept. 2013

Add Banner Adsense Above Blogger Header

==> Add a Google Adsense Ad Unit or an Affiliate Banner Above the Blogger Header <==


Banner

1. Login to Blogger if not already logged in

2. Navigate to Layout > Edit HTML

3. As a precaution back up your template by downloading the full template to your computer

4. Tick the Expand Widget Templates box

5. Using CTRL + F to bring up the search box find this line which in most templates will be directly after tag

 
<div id='outer-wrapper'>

 

6. Paste this block of code after this line to create a new section

 
<div id='topads-wrapper'>

<b:section class='topads' id='topads' preferred='yes'/>

</div>

 

7. Next we need to add some CSS styling to the new section. Please note that the banner will be centered by default. If you want to change the alignment for some reason you just need to change the CSS styling.

Place the following code in the head section of your template before these lines:

 
]]></b:skin>

</head>

 

/* Top Ads

----------------------------------------------- */

#topads-wrapper {

margin: 0;

padding: 0;

position: relative;

text-align: center;

width: 100%;

}

#topads {margin: 0; padding: 0;}

#topads .widget {margin: 0; padding: 5px 0;}

 

8. Click the Save Template button

9. Go to Layout > Page Elements

10. You will now see that you can add a gadget to a new section above your header and directly below the

navbar.

==> Add a Google Adsense Ad Unit or an Affiliate Banner Above the Blogger Header <==


Banner

1. Login to Blogger if not already logged in

2. Navigate to Layout > Edit HTML

3. As a precaution back up your template by downloading the full template to your computer

4. Tick the Expand Widget Templates box

5. Using CTRL + F to bring up the search box find this line which in most templates will be directly after tag

 
<div id='outer-wrapper'>

 

6. Paste this block of code after this line to create a new section

 
<div id='topads-wrapper'>

<b:section class='topads' id='topads' preferred='yes'/>

</div>

 

7. Next we need to add some CSS styling to the new section. Please note that the banner will be centered by default. If you want to change the alignment for some reason you just need to change the CSS styling.

Place the following code in the head section of your template before these lines:

 
]]></b:skin>

</head>

 

/* Top Ads

----------------------------------------------- */

#topads-wrapper {

margin: 0;

padding: 0;

position: relative;

text-align: center;

width: 100%;

}

#topads {margin: 0; padding: 0;}

#topads .widget {margin: 0; padding: 5px 0;}

 

8. Click the Save Template button

9. Go to Layout > Page Elements

10. You will now see that you can add a gadget to a new section above your header and directly below the

navbar.

Aucun commentaire:

Featured Posts

  • Make Grafitti in the wall with adobe photoshop15/09/2013 - 0 Comments
  • Aggressive SEO Tools (More risky)10/06/2012 - 0 Comments
  • Related Posts Widget for Blogger26/03/2012 - 0 Comments
  • Explore the network with Nmap13/09/2013 - 0 Comments
  • How to save your favorite Web Pages on Your PC?13/09/2013 - 0 Comments
  • blogger