Adjusting our navigation


show more Adjusting our navigation provides you with in-depth training on Web. Taught by Ray Villalobos as part of the Bootstrap 3: New Features and Migration show less
please wait ...

Adjusting our navigation

So we obviously need to do something about this navbar. It doesn't look very good. Our brand is sort of over to the right-hand side, and obviously the colors aren't looking correct. Now take a look at the code for the code on the Bootstrap website in version 2.3, which is what this is, and compare it with version three. So you can see here that the first div is a class of Navbar. Which, on the 3.0 version, is exactly the same way. If we go back to 2.3, and we look at the next div, it has a class of navbar inner.

In version three, that is no longer necessary. So it's not even there. So we need to watch for that. Next is the brand itself. And anchor tag in 2.3 had a class of brand. This anchor tag has a class of navbar brand. So these kind of changes can drive you a little crazy in the new version of Bootstrap. They seem to sort of reclassify a lot of things, and you need to watch out for those. So, let's see, the unordered list has a class of nav and Navbar-nav. And in the old version,...

Adjusting our navigation
Video duration: 4m 8s 46m 57s Intermediate

Viewers:

Adjusting our navigation provides you with in-depth training on Web. Taught by Ray Villalobos as part of the Bootstrap 3: New Features and Migration

Subject:
Web
Software:
Bootstrap
Author:
please wait ...