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] Center Category Bar

Old May 27, 2009, 07:56 PM
28 posts · May 2009
Nevada City, CA
Send a message via Skype™ to WebWeaver
Hello - I saw the posts for centering the Page NavBar - would you be willing to create a Thread or an update to the theme for centering the Category Bar?

Thank you,
Old May 31, 2009, 07:45 AM
Flynn's Avatar
3,768 posts · Oct 2008
Munich, Germany
In bfa_header_config, change
PHP Code:
$cat_menu_bar '<div id="menu2"><ul id="rmenu" class="clearfix rMenu-hor rMenu">' "\n"
PHP Code:
$cat_menu_bar '<div id="menu2"><table cellpadding="0" cellspacing="0" style="margin: 0 auto"><tr><td align="center"><ul id="rmenu" class="clearfix rMenu-hor rMenu">' "\n"
and change
PHP Code:
$cat_menu_bar .= '</ul></div>' "\n"
PHP Code:
$cat_menu_bar .= '</ul></td></tr></table></div>' "\n"
And add this at HTML/CSS Inserts -> CSS Insert:

HTML Code:
ul#rmenu1 {
border: 0;

ul#rmenu1 li a {
white-space: nowrap; /* IE may wrap the link text of a first level item */

ul#rmenu1 li ul li a {
white-space: normal; /* reset nowrap for sub levels. They should wrap if required */

div#menu2 ul.rMenu-ver {
text-align: left; /* because the parent container, the table's TD has align="center" */

div#menu2 {
border: dashed 1px #ccc;
Old Aug 1, 2009, 03:46 PM
28 posts · May 2009
Nevada City, CA
Send a message via Skype™ to WebWeaver
Thank you - I see that this has been address in the newest version 3.4.2. Thank you!

It be helpful to create an options area in the next version for styling the centered NavBar without adding CSS inserts as outlined here: http://forum.bytesforall.com/showthr...ghlight=dashed

Also when I used the centered nav bar, the background became transparent, not black as I set it to be in the Page NavBar settings area.


Last edited by WebWeaver; Aug 1, 2009 at 03:48 PM. Reason: one more issue...
Old Aug 1, 2009, 04:08 PM
juggledad's Avatar
23,759 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
see http://forum.bytesforall.com/showthr...nter+page+menu post#2
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
Old Aug 1, 2009, 04:14 PM
28 posts · May 2009
Nevada City, CA
Send a message via Skype™ to WebWeaver
Yes this worked, thank you JuggleDad!

I will send you a donation when I can!



category bar menu, center

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing category order in category menu bar, not in sidebar cat. list paulae Page & Category Menu Bars 13 Mar 30, 2011 06:36 PM
[SOLVED] I have category bar options but no category bar ??? jankph Page & Category Menu Bars 2 Jul 7, 2009 08:44 AM
Show Child Category In Category Menu Bar? mwsmedia Page & Category Menu Bars 1 Jun 29, 2009 06:06 AM
Place the Category Menu above the center area Tamas Page & Category Menu Bars 12 Apr 5, 2009 05:02 PM
Center titles in menu bar. c32v Page & Category Menu Bars 2 Apr 5, 2009 08:13 AM

All times are GMT -6. The time now is 09:58 PM.

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