feature request: improve documentation of menu/nav bar, dropdowns
I realize this takes second place to bugfixes but I think it would help many people to have clear and complete documentation of how to customize the 'black' menu bar and the '2nd' menu bar in the dropdowns example as follows:
how to change the navbar and its menu items' colors, especially changing black to all-white, this is particularly difficult because there's extra padding and box-shadow stuff which doesn't really need to be there????
how to center all the navbar content instead of flush left
how to vertically center navbar content if logo height > navbar height
how to easily use the dropdowns etc. with automated CMS systems??
all the above applies to the sample dropdown list menu in the dropdowns example...
which classes in bootstrap.css and responsive.css affect the menu bar and how
This could be a community project into a wiki someplace?? I've figured out some of this but not all of it...I'd put my stuff into there if I could...
Thank you, Tom
Thanks for bringing this up Tom. Do you have info on how to center all navbar content? I've been hacking at this and can't quite figure it out.
see this thread: http://groups.google.com/group/twitter-bootstrap/browse_thread/thread/d69b5b6779a94e85#
We'll add more information there when we can, but for now all the customization is relegated to variables and mixins documented on the "Using Less" page. We won't have documentation for how to combine this with external sources yet—that's a huge undertaking and something we'd want to do system wide, not just by component.
Few more details to share now:
- To center, one option is to remove the floats from everything, add display: inline-block, and text-align: center
- Vertically centering nav links means you have to bump the padding on them or increase their margin like you would on other elements
- Dropdowns in a CMS like Wordpress require different classes. You'll have to match those yourself.
Everything else you'll have to figure out yourself or ask on the mailing list.