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 Leaderboard (728 x 90)


  #1  
Old Dec 28, 2008, 09:00 PM
ppat2
 
23 posts · Dec 2008
Flynn, thanks for the effort you have dedicated to this theme...I really appreciate it.

Quick question, how can I add Leaderboard (728 x 90) adsense banner to either header or header image?
  #2  
Old Dec 29, 2008, 04:58 AM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
Edited: Code was no good... see below
  #3  
Old Dec 29, 2008, 07:00 PM
ppat2
 
23 posts · Dec 2008
Flynn,

thanks, I was wondering if there is way to add adsense between blog title and search box in header?
  #4  
Old Jan 5, 2009, 04:51 PM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
See this http://wordpress.bytesforall.com/?p=64#comment-10721

Replace the "header image" part with the adsense code and enclose the adsense code in TD tags as described in the last step of that comment linked above
  #5  
Old Jan 28, 2009, 07:22 PM
ppat2
 
23 posts · Dec 2008
hi i just updated to your 3.1.8 version. i can see my adsense banner now. the only problem is that it is not in the middle of my title and search box. its all the way in the corner of the page, how to i move the banner between the two? plz check the link. thanks

http://techvibe2daytestsite.techvibe...m/test1/?cat=6
  #6  
Old Jan 29, 2009, 04:55 AM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
I just checked again and the header is constructed in a way to keep all items like the logo and the RSS items etc in shape and in their place even if the layout width, the logo size, the blog title length, the amount of RSS items etc. is being changed or added/taken away.

I had not thought about that when I gave you the code above. If you still want to try you would have to bring the leaderboard inside bfa_header_config.php

between

HTML Code:
// END of Logo Icon
and

HTML Code:
// Blog title and description
i.e.

HTML Code:
// END of Logo Icon

<td id="leaderboard"> ADSENSE CODE
</td>

// Blog title and description
Then you would have to adjust the container of the Adsense code by adding CSS to Atahualpa Theme Options -> HTML / CSS Inserts -> CSS Inserts, something like

HTML Code:
td#leaderboard {
text-align: center;
padding: 10px;  /* inner space */
}
But the theme is not prepared to have a banner there so don't expect this to work easily

All times are GMT -6. The time now is 11:39 PM.


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