-
Notifications
You must be signed in to change notification settings - Fork 3
Center text on Navbar #104
Comments
I don't know if this will work, but I set a width at 100%, and then used the following css for the nav items. {margin-top: 0; Shorthand for this would be: Assuming you don't need a top or bottom margin (you can change that if needed), auto for left and right should center the menu items. Let me know if this helps! |
Thanks for the help Mark, I appreciate your time. I finally got around to trying this but still can't quite figure it out. I'm not unhappy with the way my navbar looks so it's not a major issue right now, I was mostly just curious how I could center the text on it. |
Hey @tannercurey! Remove the float from your
Try it and let me know what happens! |
Awesome! Thank you @JustineEvansUM, that worked perfectly! Now that's what I was going for, I appreciate it! |
Fantastic! Glad it worked! |
I just can't figure out how to get my link buttons on the navbar "Home, About, Contact" to be on the center of the Navbar below the page title. I've tried to center everything with my CSS style page for the navbar and i've ever tried to simply use "center" but nothing seems to work. Anybody have any ideas?
Here's my page
The text was updated successfully, but these errors were encountered: