Jump to content
Sign in to follow this  
kevinpaffrath

Center Navigation Bars

Recommended Posts

kevinpaffrath

Hi there, I would like to center my primary and secondary navigator bar. How can I do this? Thanks, Kevin Paffrath www.KevinPaffrath.com <<<

Share this post


Link to post
Share on other sites
Rob
Kevin, WordPress doesn't recognize a proper centering command for the menu as it results in overlaying the menu items. The best you're able to do is to offset the menu from the left till it's just about in the middle of your page width. Try adding this to your custom CSS: [code]#nav ul{padding-bottom:10px !important;float:none !important;text-align:center;} .navigation_wrap li{float:none !important;display:inline !important;} .navigation_wrap a{float:none !important;display:inline !important;}[/code]

Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×