1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to put adsense ad in the header section (Above Menu)?

Discussion in 'Blogging' started by splishsplash1, Nov 19, 2015.

  1. splishsplash1

    splishsplash1 Power Member

    Joined:
    May 7, 2015
    Messages:
    600
    Likes Received:
    42
    How do you put adsense ad in the header section (Above Menu)? I only know how to put ads in the sidebar and footer in the widgets section.
     
  2. M4XW3LL

    M4XW3LL Jr. VIP Jr. VIP

    Joined:
    Feb 5, 2013
    Messages:
    1,093
    Likes Received:
    1,274
    You have to inject the ad code in the theme code. It's a different case for different themes. Use inspect element to find the place where you want to insert the ad block, and then find the same piece of code on the backend.
     
    • Thanks Thanks x 1
  3. accofranco

    accofranco Junior Member

    Joined:
    Mar 7, 2014
    Messages:
    124
    Likes Received:
    9
    I think you may need to edit your original template so that where to add new widget will be above header banner code...check your template and edit.
     
    • Thanks Thanks x 1
  4. FIREBOSS

    FIREBOSS Power Member

    Joined:
    Aug 21, 2014
    Messages:
    597
    Likes Received:
    146
    Occupation:
    Network Admin
    Location:
    Everywhere
    I think you have to edit header section. which theme u are using now? and WP?
     
    • Thanks Thanks x 2
  5. bartosimpsonio

    bartosimpsonio Jr. VIP Jr. VIP Premium Member

    Joined:
    Mar 21, 2013
    Messages:
    12,774
    Likes Received:
    11,427
    Occupation:
    COINZ
    Location:
    BUYAH
    Home Page:
    It depends on your template. You need a header section available for you to be able to add a text widget there.
     
    • Thanks Thanks x 2
  6. Crashtest

    Crashtest Registered Member

    Joined:
    Sep 13, 2011
    Messages:
    58
    Likes Received:
    35
    Gender:
    Male
    Occupation:
    Sales clerk, full time IMer wannabe ;)
    Location:
    Cheers from France!
    If i remember the hueman theme has a header banner section, it's free you can try it out or any theme with the visual composer (some themes shared here on BHW have it by default you should check it out).
     
  7. blogzandstuff

    blogzandstuff Elite Member

    Joined:
    Jan 1, 2015
    Messages:
    6,422
    Likes Received:
    3,002
    Occupation:
    blog creator
    Location:
    UK
    you'll need to insert it in the header.php, however don't do it in the theme's core code but do it in a child theme because when there is an update the code will be overwritten by the update and you'll have to do it all again
     
  8. kuldeepsingh689

    kuldeepsingh689 Junior Member

    Joined:
    Sep 5, 2013
    Messages:
    163
    Likes Received:
    14
    Occupation:
    online marketing
    Location:
    india
    if you are using word press than try to use ad- injection plugins, that can help you.

    happy blogging
     
    • Thanks Thanks x 1
  9. 001easytricks

    001easytricks Newbie

    Joined:
    Nov 23, 2015
    Messages:
    2
    Likes Received:
    0
    Home Page:
    Hi, I think the following link will help you to solve your problem. : goo.gl/loUQW9