Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

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, 01:09 AM
zomfg
 
2 posts · Sep 2009
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, 05:15 AM
juggledad's Avatar
juggledad
 
23,672 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, 01: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, 02: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, 04: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 12:10 AM
Google adsense in Atahualpa martingale Atahualpa 3 Wordpress theme 3 Sep 6, 2009 11:58 AM
Hi, I want to put a google ad in the header. google adsense vishvadeep Header configuration & styling 5 Aug 27, 2009 12:30 PM
Remove blog title text add image benw Header configuration & styling 4 Apr 28, 2009 03:50 PM
Sticking an Adsense banner in the horizontal bar #2 in header? syuzhet Header configuration & styling 1 Feb 11, 2009 07:00 PM


All times are GMT -6. The time now is 04:46 PM.


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