Need help centering the menu bar
-
How can I center the menu bar? It is on the right side, but I need it to be in the center.
I have tried this, but it doesnt work:@media screen and (min-width: 768px) and (max-width: 1024px) { body .navbar-nav>li { float: none; } body .nav>li>a { display: inline; } }
-
hello hertniks,
In your css, try
.nav {
text-align: center;
}if the above code does not work, try the code below
.navbar-nav {
text-align: center;
}Thanks! Neither work though. Here is the website: http://riku.hertniks.com
I have been trying to figure this out for the whole day and it drives me crazy.
@media (max-width: 767px)
.navbar-inverse .navbar-nav > li a {
text-align: left; <—– delete this
}I cannot find this code in my css.
This is all I have:.navbar-inverse .navbar-nav>li>a { color: white !important; padding: 0; line-height: 35px; }In your custom CSS, add this to the very end:
@media screen and (min-width: 767px) { nav#site-navigation { float:none; margin: 0 auto; display: table !important; } }Thank you CrouchingBruin! This worked, but brought another problem. (some graphical glitches) I don’t have time to fiddle with it now, but the main problem is solved! Thanks!
I need help with my menu bar I want to show the page “Daily Samata”
on the home page but I can’t seem to change nor does it show up in my “pages” centerand in the right sidebar is an image that I need to change and the button is coral which I need to change as well but I can’t seem to find where to change it.
And I can’t figure out how to post anything as a separate new post in this forum to get helpI’m probably going about this all wrong but any help would be greatly appreciated. Thank you!
-
This reply was modified 9 years, 4 months ago by
lucylucille.
-
This reply was modified 9 years, 4 months ago by
The topic ‘Need help centering the menu bar’ is closed to new replies.
