The problem is that it’s not that simple, which may be why you’re not really getting any replies on this. I played with some different settings on your site for awhile, and I wasn’t able to get the navigation bar to be centered without taking away the dynamic properties of WordPress menus.
It’s not impossible to do this, but it is very difficult to do when the width of your navigation bar is not explicitly set. If you feel that your navigation menu is static and won’t be changing much, then you should be able to specifically set the width, and then adjust the margins to get it centered.
Find the section of your style.css labelled “Top navigation” (it starts around line 297). The next section beneath that is labelled “Drop down menu CSS” (around line 351). We’ll be looking at both of these sections. Here’s what you need to do:
- Change the width value under the section
#navouter #nav ul#dropmenu, #navouter #nav ul#dropmenu ul
from 100% to 580px.
- In that same section from step 1, delete the the setting
margin: 0;
- The next set of changes is a little more complicated. Find the line of code that starts here:
#navouter #nav ul{ }
. You will need to change that section and the next section. This is what you start with:
#navouter #nav ul{
}
#navouter #nav ul,
#navouter #nav ul li{
display: block;
float: left;
text-align: center;
margin: 0px;
padding: 0px;
background-image: none;
list-style-type: none;
}
And this is what you should end up with:
#navouter #nav ul{
margin: 0 auto;
}
#navouter #nav ul li{
float: left;
}
#navouter #nav ul,
#navouter #nav ul li{
display: block;
padding: 0px;
background-image: none;
list-style-type: none;
}
I believe that should get it working for you… Just keep in mind that if you modify your menu at all, you may need to adjust the width setting, because it is no longer dynamic.