Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Header configuration & styling »

Adsense ad right to the logo


  #1  
Old Nov 1, 2014, 09:32 AM
rodrigoxp
 
6 posts · Oct 2014
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...

Last edited by juggledad; Nov 1, 2014 at 11:12 AM.
  #2  
Old Nov 1, 2014, 09:58 AM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
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.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.

Last edited by juggledad; Nov 1, 2014 at 11:12 AM.
  #3  
Old Nov 1, 2014, 06:42 PM
rodrigoxp
 
6 posts · Oct 2014
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!
  #4  
Old Nov 2, 2014, 02:34 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
And what happens when you follow Larry's advice?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old Nov 3, 2014, 01:10 AM
rodrigoxp
 
6 posts · Oct 2014
Quote:
Originally Posted by juggledad
And what happens when you follow Larry's advice?
Nothing actually, nothing shows up.
  #6  
Old Nov 3, 2014, 05:38 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting Up Adsense in the Header/Logo Area bill_g Atahualpa 3 Wordpress theme 2 Jan 18, 2010 02:06 PM
Easy Adsense plugin to insert adsense works great with Atahualpa jenb Plugins & Atahualpa 0 Oct 20, 2009 06:27 PM
How to add a Google Adsense banner after my logo and blog title? zomfg Header configuration & styling 4 Sep 25, 2009 05:06 PM


All times are GMT -6. The time now is 11:48 AM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.