Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Header configuration & styling (http://forum.bytesforall.com/forumdisplay.php?f=15)
-   -   Placing a banner ad in above the Logo (http://forum.bytesforall.com/showthread.php?t=2883)

tnc Aug 9, 2009 10:23 AM

Placing a banner ad in above the Logo
 
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

Flynn Aug 9, 2009 03:08 PM

You can now put HTML and PHP right into Style & edit HEADER AREA -> Configure Header Area

tnc Aug 28, 2009 03:58 PM

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.

juggledad Aug 29, 2009 09:20 AM

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

Flynn Aug 31, 2009 09:37 AM

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.

ccsfdave Aug 31, 2009 05:16 PM

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

ccsfdave Sep 1, 2009 10:53 AM

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

juggledad Sep 1, 2009 01:58 PM

if the url is the one in post #1 - I don't see any space in Safari

ccsfdave Sep 1, 2009 02:11 PM

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:

http://bayimg.com/image/eadhkaack.jpg

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

http://bayimg.com/image/eadhnaack.jpg

Flynn Sep 1, 2009 05:58 PM

Try

<img style="display:block" src=".....

ccsfdave Sep 2, 2009 09:25 AM

That did the trick, thanks Flynn!

Sally Feb 8, 2013 11:14 AM

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!

lmilesw Feb 8, 2013 12:29 PM

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.


All times are GMT -6. The time now is 11:32 AM.

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