Centering Nav Bar
-
Hello. I’ve been messing with the CSS and trying different things to center the text in my navigation bar. I’d also like to increase the space between each word. I’m using the Suits theme.
Please help!
Thanks!
The blog I need help with is: (visible only to logged in users)
-
Hi there, add the following to your custom CSS. It will center the menu for widths 869px and wider. At 868, the minified menu appears for tablets and phones, and this will keep that functionality intact.
@media screen and (min-width: 869px) { .main-navigation { text-align: center; } .main-navigation ul { display: inline-block; } }
-
-
- The topic ‘Centering Nav Bar’ is closed to new replies.