From 8e2348e9eda51296eb680192379ab37f10355ca3 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sun, 6 Jul 2014 18:39:37 -0700 Subject: Fixes #13746: Add docs section for brand image --- docs/_includes/components/navbar.html | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'docs/_includes/components') diff --git a/docs/_includes/components/navbar.html b/docs/_includes/components/navbar.html index 498b78af2..560eca8a7 100644 --- a/docs/_includes/components/navbar.html +++ b/docs/_includes/components/navbar.html @@ -144,6 +144,32 @@ + +

Replace the navbar brand with your own image by swapping the text for an <img>. Since the .navbar-brand has it's own padding and height, you may need to override some CSS depending on your image.

+
+ +
+{% highlight html %} + +{% endhighlight %} + +

Place form content within .navbar-form for proper vertical alignment and collapsed behavior in narrow viewports. Use the alignment options to decide where it resides within the navbar content.

As a heads up, .navbar-form shares much of its code with .form-inline via mixin. Some form controls, like input groups, may require fixed widths to be show up properly within a navbar.

-- cgit v1.2.3