From the course: Bootstrap 3 Essential Training
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Resetting columns - Bootstrap Tutorial
From the course: Bootstrap 3 Essential Training
Resetting columns
- Occasionally you'll run into a problem where some of your content forces the grid to do funny things. In those instances you can use the built-in clearfix class as well as some special responsive utility classes to fix those problems. Let's say for example that we take the GeneralHealth section and move it over to the first column position. So I'm going to grab it out of here; I'm going to put a space right there, and grab this section, and just cut it out of here, and paste it right there. So let's go ahead and save that. Now it's showing up right here. Looks great at this breakpoint, but if we make this a little smaller, you can notice that here at this other breakpoint where it goes into a two-column layout, the Grooming section is getting pushed over, and that's because the sizes of these two elements are different, and this Exotic Pets Section has much less content, so it's actually causing this Grooming section to push over. There's a couple of ways we could try to fix that…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
Understanding Bootstrap containers6m 29s
-
(Locked)
Working with rows3m 13s
-
(Locked)
Creating columns10m 3s
-
(Locked)
Using multiple column classes3m 46s
-
(Locked)
Resetting columns3m 55s
-
(Locked)
Offsetting columns2m 52s
-
(Locked)
Nesting columns6m 9s
-
(Locked)
Customizing column order with push and pull3m 31s
-
-
-
-
-
-
-
-
-