Adsense ad right to the logo
Hello, I have searched forums but can not find a satisfying answer.
I am trying to understand how to add a responsive google banner AD right after the logo. It should lay linear to the logo image. Please some one help me... |
You could perhaps add a new widget area to the header and then use CSS to style and position but since Atahualpa is not currently responsive I don't know how a responsive AD would work.
|
Here is my code
<div style="position:absolute;top:20px;right:60px;width :728px;height:60px; background:#ddd;"> <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <!-- under listing --> <ins class="adsbygoogle" style="display:block" data-ad-client="ca-pub-xxxxxxxxxxx" data-ad-slot="xxxxxx" data-ad-format="auto"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script> </div> I want to display this linear to the right of the logo. I have put this code directly after %pages %logo %cats %bar1 %bar2 Thanks in advance everyone! |
And what happens when you follow Larry's advice?
|
Quote:
|
1) what version of Atahualpa?
2) what version of WP? 3) What is the URL? 4)go to 'ATO->Export/Import Settings' and export your settings. Then attach them to a reply so I can see what code you used to add the new widget area. |
All times are GMT -6. The time now is 02:16 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.