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


  #1  
Old May 27, 2009, 06:56 PM
WebWeaver
 
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,
WebWeaver
http://catswebweave.com
  #2  
Old May 31, 2009, 06:45 AM
Flynn's Avatar
Flynn
 
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"
to
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"
to
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;
}
  #3  
Old Aug 1, 2009, 02:46 PM
WebWeaver
 
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.

-WebWeaver
http://catswebweave.com

Last edited by WebWeaver; Aug 1, 2009 at 02:48 PM. Reason: one more issue...
  #4  
Old Aug 1, 2009, 03:08 PM
juggledad's Avatar
juggledad
 
23,655 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
  #5  
Old Aug 1, 2009, 03:14 PM
WebWeaver
 
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!

-WebWeaver

Bookmarks

Tags
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 05:36 PM
[SOLVED] I have category bar options but no category bar ??? jankph Page & Category Menu Bars 2 Jul 7, 2009 07:44 AM
Show Child Category In Category Menu Bar? mwsmedia Page & Category Menu Bars 1 Jun 29, 2009 05:06 AM
Place the Category Menu above the center area Tamas Page & Category Menu Bars 12 Apr 5, 2009 04:02 PM
Center titles in menu bar. c32v Page & Category Menu Bars 2 Apr 5, 2009 07:13 AM


All times are GMT -6. The time now is 12:34 PM.


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