WordPress.org

Ready to get started?Download WordPress

Forums

How Do I Add Adsense to Header? (3 posts)

  1. Crewchief
    Member
    Posted 5 years ago #

    Where do I go to add Adsense under the Header on: http://findgenerators.net/Blog/

    1). What file do I go to?
    Answer ________________

    1) Where in the file exactly do I post the code?
    Answer_________________

    Thanks

  2. 1) header.php (in your theme)

    1 (2) ) probably right before or after this:

    <div class="navigation">
    <ul>
    <li> <a href="http://findgenerators.net/Blog/">Home</a> </li><li> <a href="http://findgenerators.net/Blog/About/">About</a> </li>
    <li> <a href="http://www.findgenerators.net/">Main Site</a> </li>
    
    <li> <a href="http://www.findgenerators.net/sitemap-page-order.html">Sitemap</a> </li></ul>
    </div>

    Depends where you want it.

  3. Crewchief
    Member
    Posted 5 years ago #

    Thanks for the input... I tried placing my Ad coded both above and below that code and it didn't place the ads where I wanted them.

    I also tried placing the AD code in the Navigation.php file, both above and beneath, and that didn't work.

    I'm looking to place the Ad code in the light TAN space, right below the HEADER. I created that space in the Style.css file by adding 45px to the Header space, see below...

    #header {
    overflow:hidden;
    position:relative;
    width:960px;
    margin:0 auto;
    height:180px;
    border-bottom-width: 45px;
    border-bottom-style: solid;
    border-bottom-color: #FAF0E6;

    I know it can be done because I see it on other sites, but they are not giving up the HOW TO info.

Topic Closed

This topic has been closed to new replies.

About this Topic