Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Page & Category Menu Bars »

[SOLVED] Horizontal Bar 1 > how to add page title?


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Apr 21, 2010, 01:07 PM
bender57's Avatar
bender57
 
16 posts · Apr 2010
France
Red face [SOLVED] Horizontal Bar 1 > how to add page title?

Hi,

I'm using version 3.4.6.

I'd like to add my page title in the Horizontal Bar 1.

How to proceed?

Thanks a lot in advance!
  #2  
Old Apr 22, 2010, 06:01 AM
juggledad's Avatar
juggledad
 
20,147 posts · Mar 2009
OSX 10.6.8/10.7.3 WP 2.8.x/2.9.x/3.x Atahualpa 3.5.x/3.7.x Safari 5.x Firefox 11 XP
You can't add it into the bar unless you want to dig into the code. You will have to edit bfa_header_config.php and find line 308 (in version 3.4.6) which should be
HTML Code:
	$horizontal_bar1 = '<div class="horbar1">&nbsp;</div>';
and change it to
HTML Code:
	$h_bar1_title =  wp_title('',false,'');
	$horizontal_bar1 = '<div class="horbar1">'.$h_bar1_title.'</div>';
  #3  
Old Apr 22, 2010, 08:19 AM
bender57's Avatar
bender57
 
16 posts · Apr 2010
France
Quote:
Originally Posted by juggledad
You can't add it into the bar unless you want to dig into the code. You will have to edit bfa_header_config.php and find line 308 (in version 3.4.6) which should be
HTML Code:
	$horizontal_bar1 = '<div class="horbar1">&nbsp;</div>';
and change it to
HTML Code:
	$h_bar1_title =  wp_title('',false,'');
	$horizontal_bar1 = '<div class="horbar1">'.$h_bar1_title.'</div>';
Thanks a lot!


> I can add text in the bar now but I'd like to apply a css on text only without compromising the bar layout.

padding:8px 20px;

???
  #4  
Old Apr 22, 2010, 08:34 AM
juggledad's Avatar
juggledad
 
20,147 posts · Mar 2009
OSX 10.6.8/10.7.3 WP 2.8.x/2.9.x/3.x Atahualpa 3.5.x/3.7.x Safari 5.x Firefox 11 XP
just use CSS that applies to the text, like 'color: #00ffff;' will change the text color, 'text-align' will change the alignment. For font styling you will want 'font-style' and 'font-size'

go to http://www.w3schools.com/css/css_text.asp for a great reference

p.s. you can just add them to the bar1 styling section in the options.
  #5  
Old Apr 23, 2010, 01:26 AM
bender57's Avatar
bender57
 
16 posts · Apr 2010
France
Quote:
Originally Posted by juggledad
just use CSS that applies to the text, like 'color: #00ffff;' will change the text color, 'text-align' will change the alignment. For font styling you will want 'font-style' and 'font-size'

go to http://www.w3schools.com/css/css_text.asp for a great reference

p.s. you can just add them to the bar1 styling section in the options.
It works fine for text-indent. (horiz.)

I still have problems to align vertically the text in the bar without damaging the layout. There is no css code working...
  #6  
Old Apr 23, 2010, 07:58 PM
juggledad's Avatar
juggledad
 
20,147 posts · Mar 2009
OSX 10.6.8/10.7.3 WP 2.8.x/2.9.x/3.x Atahualpa 3.5.x/3.7.x Safari 5.x Firefox 11 XP
what's the url?

Bookmarks

Tags
add, bar, horizontal bar 1, page, title

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to put Gradient Color, instead of solid color, in horizontal Page/Catgry Menu Bar rhythm Header configuration & styling 4 May 17, 2010 12:15 PM
[SOLVED] Add a title to category bar? samij0 Page & Category Menu Bars 2 Mar 31, 2010 09:09 AM
Bar (horizontal bar, like bar1). Have the code embedded in a Page Template treeplant Header configuration & styling 0 Mar 28, 2010 07:16 PM
How to add 2 link rollover buttons in horizontal header bar stevemitch2 Header configuration & styling 2 Jun 4, 2009 09:47 AM
How do I add spacing (padding?) between the horizontal bars and header image? ftkeeper Header configuration & styling 0 May 16, 2009 11:41 PM


All times are GMT -6. The time now is 06:28 PM.


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