Start learning with our library of video tutorials taught by experts. Get started

Bootstrap 3: New Features and Migration

Migrating to the new version


From:

Bootstrap 3: New Features and Migration

with Ray Villalobos

Video: Migrating to the new version

So, now it's time to install the new version of Bootstrap. If you're following along with my previous movie, you'll know that this is the Bootstrap 3.0 version of my website, and that I'm managing everything with Git. So, the first thing I need to do is switch to the right branch. So, I'm going to do a Git checkout, and check out my Bootstrap 2 branch and switch back over here and refresh. And this is the Bootstrap 2 version of the website. So the next thing we need to do is actually create a new branch. So, this is the way that I manage my projects and it's definitely something you may want to look into. I'm using a virtual control system called Git, and if you want to learn how to use that, we've got a great course called Git Essential Training with Kevin Skoglund, be sure you check that out.

Watch this entire course now—plus get access to every course in the library. Each course includes high-quality videos taught by expert instructors.

Become a member
Please wait...
Bootstrap 3: New Features and Migration
46m 57s Intermediate Aug 08, 2013

Viewers: in countries Watching now:

Bootstrap 3 is here, and it supports mobile design and responsive CSS better than ever. Join author Ray Villalobos for an overview of the new classes, mobile-first approach, and other enhancements in Bootstrap 3, and learn how to migrate your sites and files to the new framework. Find out about the new installation options, updates to grids and scaffolding, and changes to the handling of type, images, and JavaScript. Then learn to integrate the new list group and panel components into your workflow. The course closes with a look at migrating a sample site from Bootstrap 2.3 to 3.0, from replacing template files to tweaking your grid, navigation, and images.

Topics include:
  • Installing Bootstrap 3
  • Using the new grid systems
  • Working with typography
  • Understanding the responsive class updates
  • Using panels and list groups
  • Migrating from Bootstrap 2.3 to Bootstrap 3.0
Subjects:
Web Responsive Design Web Design Web Development
Software:
Bootstrap
Author:
Ray Villalobos

Migrating to the new version

So, now it's time to install the new version of Bootstrap. If you're following along with my previous movie, you'll know that this is the Bootstrap 3.0 version of my website, and that I'm managing everything with Git. So, the first thing I need to do is switch to the right branch. So, I'm going to do a Git checkout, and check out my Bootstrap 2 branch and switch back over here and refresh. And this is the Bootstrap 2 version of the website. So the next thing we need to do is actually create a new branch. So, this is the way that I manage my projects and it's definitely something you may want to look into. I'm using a virtual control system called Git, and if you want to learn how to use that, we've got a great course called Git Essential Training with Kevin Skoglund, be sure you check that out.

So, what I want to do here is actually go through and create a separate branch and I'm going to call this branch bt2migration. So what I want to do now is check out this version of the website, so that any changes that I made will be made under this new branch. And I'll leave my Bootstrap 2 branch alone just in case I want to revert back to the original version of that branch. So I'll do git checkout, and then do bt2migration, and that should check me out to the new branch. If I do git branch, I can see all the branches of my project and I've got a bootstrap2 branch, a bootstrap3, and a bt2migration branch which is where I'm on.

Next thing I will do is, go to the Bootstrap website and click on this Download Bootstrap link. Now, you can install Bootstrap in a number of different ways. If you go to Getting started, it's going to show all the different ways you can download Bootstrap maybe using the original less files or using CDNs now with the new version of Bootstrap, but the easiest way to download is just to go to the top of the site and then click on Download Bootstrap. Now, what that will do is it'll give you a folder with three different folders inside it. Now, this is a little bit different than before. It's going to give you a css folder, a js folder, as well as a fonts folder.

Before, we used to have an img folder. So what I need to do is copy the fonts folder to the same place that my css and js folder are. Now, before, we used to have this img. You can get rid of it if you want to. I'm going to leave it there. It's not really hurting anything. For production, I might go ahead and delete it before I publish everything. So I'm going to grab this fonts folder and put it right here. Then I'm going to open up the js and css files. I usually use the minified versions of these files, so I'll delete the regular versions and rename these bootstrap.css and bootstrap.js.

And then I'm going to copy them into the folders with the current versions of those files. That means that I'm going to replace the JavaScript and the CSS from Bootstrap, so this is going to modify the way my site looks. Let's go ahead and do that. I'll drag this in here, and yes, I do want to replace. And then I will drag this one right here into the js folder, and yes, I do want to replace. And awesome. We are done with that part, so let me go ahead and switch back to my website, and I'll refresh, and we'll see what happens.

And, at this point, you're probably thinking either, Dear Lord, what have I done? My website is all screwed up. My columns are gone. Everything is gone. Or the other reaction you may have is, well, since I watched the rest of the movies in this course, I knew that some of this was coming. So this isn't that bad. It, the site looks pretty good, carousel looks a little different, the arrows don't quite look well, but they actually work. Like, if you click on these, you can see that the carousel itself is still working just fine. Let's check on the motiles, I'll click on one of these. sort of working, so we definitely have some work to do there.

I'm going to refresh the page, and if you click on these collapse menus, the accordions, they seem to be working just fine. So, that's actually pretty cool. I'll click on this full schedule thing, and these are mostly working. So, a lot of the JavaScript you'll find is going to work just fine. The buttons, actually, are working pretty well. Some of the styles are going to have to be redone, but overall, this isn't too bad. At least, it wasn't as bad as what I expected would happen when I just upgraded the library, based on what I had read about the new changes.

So we've got a good starting point, what we need to do now is focus on individual updates that we have to perform to the HTML to make this transition properly to the new version of Bootstrap.

There are currently no FAQs about Bootstrap 3: New Features and Migration.

Share a link to this course
Please wait... Please wait...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.
Upgrade now


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ.

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

Upgrade now

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed Bootstrap 3: New Features and Migration.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferencesfrom the dropdown menu.

Continue to classic layout Stay on new layout
Welcome to the redesigned course page.

We’ve moved some things around, and now you can



Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked