Centring the Navigation Menu
-
My site is https://www.ivo.co.uk and I’m having a lot of trouble positioning the navigation menu.
I want it to stay aligned in the centre, just like the rest of the content, like the logo and body content for example. But it seems every bit of CSS I try will not work. The navigation menu always moves separately to the rest of the content. If you change the size of the browser window you will be able to see the problem.
I currently have the following CSS affecting it:
.navbar .nav { max-width: 100%; display: block; margin: 0px auto; } .navbar-wrapper .navbar-inner { float: right; display:block; width: 950px; margin: 0px auto; } .sticky-enabled .navbar .nav > li > a { display:block; margin: 0px auto; max-width: 100%; }
I’m not an expert with this stuff but I’m quite intuitive. If someone could lend a hand it would be greatly appreciated. Thanks, James.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Centring the Navigation Menu’ is closed to new replies.