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 »

How to add a Google Adsense banner after my logo and blog title?


  #1  
Old Sep 15, 2009, 02:09 AM
zomfg
 
2 posts · Sep 2009
Smile How to add a Google Adsense banner after my logo and blog title?

I have read many posts asking how to add additional image in the header area. However, is there a way of adding an image after the logo and title (on the same line)? My problem is... the logo and title is on the left hand of the header area and search box on the right. There's a big gap in the middle. I just want to add Google Adsense banner in there so it doesnt look so empty.

Thanks in advanced!
  #2  
Old Sep 15, 2009, 06:15 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
in 3.4.2 you can use the new widget areas and define a widget in the header - add a text widget and put your code there.

HOWEVER...there seems to be a bug withthe new widget code, don't use it in more than one place and make sure to define the number you want (the default says 1 but it actually defaults to 3 areas.)
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Sep 16, 2009, 02:05 AM
zomfg
 
2 posts · Sep 2009
Thanks a lot. However, I still failed to put the banner up...

Can you give me a little bit more detailed instructions on this?
  #4  
Old Sep 23, 2009, 03:46 AM
jdj
 
4 posts · Sep 2009
I'm having the same problem. I can add a widget to the header by using the php code you describe on the "add new widget" page of the admin panel, but my efforts to position the widget on the right of the logo area on the same line (in the same table) with the logo and blog title have failed.

Thanks for any assistance you can provide!
  #5  
Old Sep 25, 2009, 05:06 PM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
The logo area logo% spans the whole layout width. Don't use %logo and create your own logo area with HTML and/or PHP instead, i.e.

%pages
<table><tr>
<td><h1 class="blogtitle">My Site</h1></td>
<td><?php bfa_widget_area('my widget area'); ?></td>
</tr></table>
%bar1 %image %bar2

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Google Adsense outrightent Atahualpa 3 Wordpress theme 2 Sep 14, 2009 01:10 AM
Google adsense in Atahualpa martingale Atahualpa 3 Wordpress theme 3 Sep 6, 2009 12:58 PM
Hi, I want to put a google ad in the header. google adsense vishvadeep Header configuration & styling 5 Aug 27, 2009 01:30 PM
Remove blog title text add image benw Header configuration & styling 4 Apr 28, 2009 04:50 PM
Sticking an Adsense banner in the horizontal bar #2 in header? syuzhet Header configuration & styling 1 Feb 11, 2009 08:00 PM


All times are GMT -6. The time now is 04:36 AM.


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