Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

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?


  #1  
Old Apr 21, 2010, 01:07 PM
bender57's Avatar
bender57
 
16 posts · Apr 2010
France
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
 
23,667 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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>';
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #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
 
23,667 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #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
 
23,667 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
what's the url?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #7  
Old Apr 24, 2010, 06:40 AM
bender57's Avatar
bender57
 
16 posts · Apr 2010
France
http://www.papyrus-translation.com/WordPress/
  #8  
Old Apr 25, 2010, 03:47 PM
juggledad's Avatar
juggledad
 
23,667 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
try adding this to ato->Style & edit HEADER AREA->Horizontal Bar 1: Styling
HTML Code:
padding-top: 2%;
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #9  
Old Apr 25, 2010, 11:27 PM
bender57's Avatar
bender57
 
16 posts · Apr 2010
France
Quote:
Originally Posted by juggledad
try adding this to ato->Style & edit HEADER AREA->Horizontal Bar 1: Styling
HTML Code:
padding-top: 2%;

PERFECT and THANKS A LOT !

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 07:39 PM.


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