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 »

[SOLVED] Putting adsense above or below the header image area...


  #1  
Old Sep 16, 2009, 07:15 AM
saifullahraza
 
4 posts · Aug 2009
[SOLVED] Putting adsense above or below the header image area...

how to put the ads above or below the header image area?

visit my website where side bar google ads are available but where to put link ads and front banner? also how to put the post ads in this awesome theme?


please solve these things i dont want to change theme and will not even if you dont help.

regards
SAIF
  #2  
Old Dec 19, 2009, 01:45 PM
cagsan
 
5 posts · Dec 2009
Hello, you can put in front of or above the image, but you have to make a little space between them, thats what I know.
  #3  
Old Dec 22, 2009, 03:02 AM
Jozefs
 
26 posts · Jul 2009
Belgium
Use a widget area and place your ad in the widget (with one of the many adsense plugins, or use the text -html plugin en copy the code directly). E.g. my header area config looks like this:

%bar1 %logo %bar1 <?php bfa_widget_area('name=topwidgetarea&cells=2&width_ 1=730&width_2=230&align=8&align_2=6&before_widget= <div id="%1" class="header-widget %1">&after_widget=</div>'); ?> %bar2 %cats %bar2

This gives me two "topwigets", one with a width of 730 px and one with 230px, enough space for two ads (big and small); I only use the big one and leave the small one empty. See www.diskidee.nl

If you want the ad above the logo place the wiget area before %logo ...
  #4  
Old Dec 22, 2009, 03:44 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
if you are going to use the new widget area, make sure you are using 3.4.4
__________________
"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 19, 2010, 06:12 AM
mathur.rajeev
 
6 posts · Nov 2010
Thanks Jozefs. I tried the way you explained. It works fine. The adsense started to show just below the header.

But there is a problem.

I have taken a link ad of the size 728*15. my banner size is 1000px. can i wrap the ad in 1000px strip of same color, so that it could look integrated.
  #6  
Old Nov 20, 2010, 05:04 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
change the code to
HTML Code:
%bar1 %logo %bar1 <div id="my-head"> <?php bfa_widget_area('name=topwidgetarea&cells=2&width_ 1=730&width_2=230&align=8&align_2=6&before_widget= <div id="%1" class="header-widget %1">&after_widget=</div>'); ?> </div> %bar2 %cats %bar2
then add a css insert
HTML Code:
#my-head {background: #00ffff;}
(you may want to change teh color
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #7  
Old Nov 20, 2010, 05:21 AM
mathur.rajeev
 
6 posts · Nov 2010
Thanks JUGGLEDAD,

This littele code change made my day....

Bookmarks

Tags
ads, theme

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


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 01:06 PM
Header image area dropping down over the first post area bushtool Header configuration & styling 2 Sep 16, 2009 12:17 PM
Putting Adsense or RSS news feed in sidebar Equity Sidebars & Widgets 1 Apr 25, 2009 05:15 AM
Putting "Link Categories" in the header area kirinafa Header configuration & styling 1 Mar 9, 2009 09:57 AM
Putting a image background in the header's logo area kirinafa Header configuration & styling 2 Feb 18, 2009 04:08 PM


All times are GMT -6. The time now is 10:52 AM.


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