• Resolved Stergos

    (@stergos)


    Hi, i use twenty eleven theme actually a child theme. I try to add AdSense to Header (header.php) to the top right corner but i am not sure where i should place the AdSense code to do that, any help appreciated thank you!

Viewing 8 replies - 16 through 23 (of 23 total)
  • Thread Starter Stergos

    (@stergos)

    Zeaks you are my man dude ??

    Thread Starter Stergos

    (@stergos)

    I search enough posts to find the solution but without success, if any of you has the same problem the solution is zeaks.org

    Janell2

    (@janell2)

    Hi Geeksfolder,
    Your code to place the banner ad on top of the branding/header worked perfectly. It took forever to find a correct answer to this. Congrats and many thanks.
    Janell

    Ryan Yu

    (@geeksfolder)

    Awesome Janell2! ??

    niceWP

    (@nicewordpress)

    May i ask you guys, how to place the 728×90 AdSense on the right side on the header (instead of the search-box), and 260×120 Logo to the left of that adsense (instead of the Site Title which we type in Settings>General).

    (I think that’s the only way i can have the header appear about 120px high and have logo on the left and adsense 728×90 ads to the right, yes?)

    So i guess it should look roughly like Geeksfolder posted in his lovely link above (reposting): https://postimage.org/image/tqiri7m95/
    So the yellow box from the screenshot represents the 728×90 AdSense, and i am trying to place my logo in the place of the left side Title.

    I have disabled the header image.

    I am using the Twenty Eleven theme.
    I have a basic Child Theme with Style.css and empty Functions.php in it (sorry if it is irrelevant, i am trying my best to learn and making progress, but i still have a long way to go!)

    Thank you very much for your help in advance.

    @Geekfolder – your code really works perfectly but I don’t need the search form in my header just the google ads above my menu.. Could you help me?

    Nvm, I manage to remove the search form.

    Hello, I added adsense code to my site but ad are not displaying on the right side of header at top. Any problem there? Please help.
    https://www.aas-bd.com

Viewing 8 replies - 16 through 23 (of 23 total)
  • The topic ‘AdSense To Header’ is closed to new replies.