Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Page & Category Menu Bars (http://forum.bytesforall.com/forumdisplay.php?f=10)
-   -   [SOLVED] Horizontal Bar 1 > how to add page title? (http://forum.bytesforall.com/showthread.php?t=6818)

bender57 Apr 21, 2010 01:07 PM

[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!:)

juggledad Apr 22, 2010 06:01 AM

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>';


bender57 Apr 22, 2010 08:19 AM

Quote:

Originally Posted by juggledad (Post 30421)
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;

???:confused:

juggledad Apr 22, 2010 08:34 AM

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.

bender57 Apr 23, 2010 01:26 AM

Quote:

Originally Posted by juggledad (Post 30434)
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...

juggledad Apr 23, 2010 07:58 PM

what's the url?

bender57 Apr 24, 2010 06:40 AM

http://www.papyrus-translation.com/WordPress/

juggledad Apr 25, 2010 03:47 PM

try adding this to ato->Style & edit HEADER AREA->Horizontal Bar 1: Styling
HTML Code:

padding-top: 2%;

bender57 Apr 25, 2010 11:27 PM

Quote:

Originally Posted by juggledad (Post 30622)
try adding this to ato->Style & edit HEADER AREA->Horizontal Bar 1: Styling
HTML Code:

padding-top: 2%;


PERFECT and THANKS A LOT !


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

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