Hey there,
I would like to centre the layout of my header navigation but am having trouble doing this correctly.
I have tried doing this myself by inspecting the header element and playing around with the code, then copying and pasting this into the custom CSS general options section.
I am having the following problems:
– When adding more links into the menu, the links spill over two lines
– When resizing the browser window, the horizontal scroll bar appears because the container is a fixed width
I can’t figure out how to achieve a centred header layout properly! A lot of your other themes have this option so hopefully you can help 🙂
Here is the code I used:
#main-navigation {margin-left: auto; margin-right: auto; width: 50%;}
#main-nav > div > div > div.span9 {width:1170px;}
nav#main-navigation .menu > li {margin-bottom: 40px}
Just want the logo in the centre, then the menu items centred under it. Thanks heaps!