From the course: Bootstrap 4 Essential Training

Unlock the full course today

Join today to access over 22,500 courses taught by industry experts or purchase this course individually.

Use branding and text

Use branding and text - Bootstrap Tutorial

From the course: Bootstrap 4 Essential Training

Start my 1-month free trial

Use branding and text

- [Instructor] In addition to the navbar nav you can add other components to your navigation. The simplest to use is called the navbar brand and it's used for text or logos and will get an enhanced look. Another simple component is the navbar text component and you can add inline text that works well with the rest of the navigation. So, both of these are going to go right next to the navbar nav component. Navbar-brand is the class that you add when you want to add a logo or some text. So, this is usually a link or a headline and it gets a special look in Bootstrap. You can also of course add images and that's pretty common. You may have to adjust your CSS a little bit to do that. And finally you can add a piece of text to the navigation with the class of navbar-text. So, this would be a separate piece that you add that will display some text. Now, it's good for you to review the spacing classes because they'll be really helpful here. So lets take a look at an example. We've got a…

Contents