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 »

Placing a banner ad in above the Logo


  #1  
Old Aug 9, 2009, 10:23 AM
tnc
 
8 posts · Mar 2009
In the previous version I was able to add an ad above the logo by placing text after the
Code:
// END of title/description
$logo_area .='
    <td rowspan="2" valign="middle" class="header-banner"> BANNER LINK INFO  </td>
';
This page in functions > bfa_header_config.php seems to have changed. I don't know how to put the ad back in.

Any help would be appreciated.

thank you.
www.dimestorebudget.com
  #2  
Old Aug 9, 2009, 03:08 PM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
You can now put HTML and PHP right into Style & edit HEADER AREA -> Configure Header Area
  #3  
Old Aug 28, 2009, 03:58 PM
tnc
 
8 posts · Mar 2009
I am still feeling rather stupid. I don't know what section to paste the banner ad into. Can you tell me which one it goes into?

thank you.
  #4  
Old Aug 29, 2009, 09:20 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
put the HTML IN the 'Configure Header Area' for example
HTML Code:
%bar2 %image <td rowspan="2" valign="middle" class="header-banner"> BANNER LINK INFO  </td> %pages
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old Aug 31, 2009, 09:37 AM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
See WP Site Admin -> Presentation -> Atahualpa Theme Options -> Style & edit HEADER AREA -> Configure Header Area

You can put HTML and PHP right into that text area. That text area with the blue border will auto-expand once you paste more than 1 line fo code there, or if you press [Enter]. You don't need to edit functions/bfa_header_config.php anymore.
  #6  
Old Aug 31, 2009, 05:16 PM
ccsfdave's Avatar
ccsfdave
 
13 posts · Aug 2009
San Francisco
Greetings,

I am progressing well on our porting project...

I need to add a banner at the top and followed the directions here, works but an issue I have is that the background color when I add some space is white, my sides are grey. How can I add color above the header?

I tried:
Code:
 <body bgcolor="#ebebeb"><br><br>
 %logo %pages %bar1 %image
and I tried applying the background color to a table like http://forum.bytesforall.com/showpos...12&postcount=6 suggests...

Any ideas?

Thanks,


Dave

Last edited by ccsfdave; Aug 31, 2009 at 05:24 PM.
  #7  
Old Sep 1, 2009, 10:53 AM
ccsfdave's Avatar
ccsfdave
 
13 posts · Aug 2009
San Francisco
Well, I added a bar2 above my logo which created the space I need but when I put an image above that bar, I still get white space of about 2 pixels between the image and the bar2. I tried putting negative margin and border but still no luck...anything thoughts on this?

Dave
  #8  
Old Sep 1, 2009, 01:58 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
if the url is the one in post #1 - I don't see any space in Safari
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #9  
Old Sep 1, 2009, 02:11 PM
ccsfdave's Avatar
ccsfdave
 
13 posts · Aug 2009
San Francisco
Sorry, I didn't post my information. Unfortunately I am working on an internal site until it is finished and sold to the powers that be. Here is a picture of the white space I am speaking of:



You should see a 1 or 2 pixel white space under the image at the top...sorry, I know it is tough to see

and here is the code I added to the Style & Edit Header Area -> Configure header area

  #10  
Old Sep 1, 2009, 05:58 PM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
Try

<img style="display:block" src=".....
  #11  
Old Sep 2, 2009, 09:25 AM
ccsfdave's Avatar
ccsfdave
 
13 posts · Aug 2009
San Francisco
That did the trick, thanks Flynn!
  #12  
Old Feb 8, 2013, 11:14 AM
Sally
 
201 posts · Jul 2010
Kentucky
I would like to put this line (each word will be linked) above my Pages Menu:
Advertising | About | Report A News Tip | Facebook | Subscribe

I tried doing it with the td html above (I'm not good with the table html yet) but it didn't work:
<td rowspan="2" valign="middle" class="header-banner">Advertising | About | Report A News Tip | Facebook | Subscribe</td>

Here's my site: www.kyfreepress.com.

Can you tell me what I need to do to make this work?

Thank you!
  #13  
Old Feb 8, 2013, 12:29 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
How about something like the following in the Style Header area above %pages?
HTML Code:
<a href="link to page">Advertising</a> | <a href="link to page">About</a> | <a href="link to page">Report A News Tip</a> | <a href="link to page">Facebook</a> | <a href="link to page">Subscribe</a>
Or you could use %cat and style as you wish.
__________________
~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.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Banner ad in top bar or logo area? paulae Header configuration & styling 28 Mar 21, 2011 02:17 PM
Placing widgets on pages mactony Sidebars & Widgets 45 Nov 1, 2010 01:06 PM
placing a few ad banner in header area monochrome Header configuration & styling 21 Feb 1, 2010 02:10 PM
Placing a Box Around Text gradlebum Atahualpa 3 Wordpress theme 1 Jul 15, 2009 10:18 AM
How to replace logo pic with an ad banner newyorkchica Header configuration & styling 1 Jun 2, 2009 02:49 AM


All times are GMT -6. The time now is 12:58 AM.


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