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 »

Text/images between horizontal bars in header?


  #1  
Old Mar 2, 2009, 08:47 PM
robertayers
 
7 posts · Feb 2009
Hi Everyone

Very much enjoying using and exploring Atahualpa ... www.askyfilledwithshootingstars.com was launched this morning and received an excellent response ... I even credited BytesForAll in my introductory post!

A simple question, and I apologize if it's been dealt with before. I have created a narrow box between two horizontal bars beneath the header image. It should be possible to put text and images in there, yes?

Any suggestions?
  #2  
Old Mar 3, 2009, 09:04 AM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
You'd have to edit bfa_header_config.php and change this

PHP Code:
if (strpos($header_items,'%bar2')!==false) {
// Horizontal bar 2
$horizontal_bar2 '<div class="horbar2">&nbsp;</div>';
// END of Horizontal bar 2

to

PHP Code:
if (strpos($header_items,'%bar2')!==false) {
// Horizontal bar 2
$horizontal_bar2 '<div class="horbar2">

TEXT AND HTML HERE

</div>'
;
// END of Horizontal bar 2

  #3  
Old Mar 3, 2009, 01:32 PM
robertayers
 
7 posts · Feb 2009
You're a brilliant man, Flynn. Thank you!
  #4  
Old Mar 12, 2009, 03:51 PM
robertayers
 
7 posts · Feb 2009
Hello again, Flynn

Still having problems here ... I can't find the place in the code you mentioned ...

I open "Appearance", then "Editor" then click "Header (header.php)". Is that correct? Is the place in the code there?

Sorry if this is a stupid question.
  #5  
Old Mar 13, 2009, 04:01 PM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
The file is at /wp-content/themes/atahualpa/functions/bfa_header_config.php

You'd need to use a text editor for this and manually edit that file. There are no theme options for this
  #6  
Old Mar 14, 2009, 10:24 AM
robertayers
 
7 posts · Feb 2009
Thanks again, Flynn. I'm in there now. You just earned yourself another contribution!

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
Horizontal Bars & Other Stuff too NoVegans Header configuration & styling 5 Apr 12, 2010 07:40 AM
Negative margin for horizontal bars in header - good or bad? upscho Header configuration & styling 4 Jul 20, 2009 05:53 AM
How do I add spacing (padding?) between the horizontal bars and header image? ftkeeper Header configuration & styling 0 May 17, 2009 12:41 AM
centering the horizontal bars interage Header configuration & styling 2 Apr 25, 2009 09:45 AM
Sticking an Adsense banner in the horizontal bar #2 in header? syuzhet Header configuration & styling 1 Feb 11, 2009 08:00 PM


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


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