Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Header configuration & styling (http://forum.bytesforall.com/forumdisplay.php?f=15)
-   -   Adsense ad right to the logo (http://forum.bytesforall.com/showthread.php?t=22900)

rodrigoxp Nov 1, 2014 08:32 AM

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...

lmilesw Nov 1, 2014 08:58 AM

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.

rodrigoxp Nov 1, 2014 05:42 PM

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!

juggledad Nov 2, 2014 01:34 AM

And what happens when you follow Larry's advice?

rodrigoxp Nov 3, 2014 12:10 AM

Quote:

Originally Posted by juggledad (Post 110698)
And what happens when you follow Larry's advice?

Nothing actually, nothing shows up.:confused:

juggledad Nov 3, 2014 04:38 AM

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.