Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial![](https://ecs-static.teamtreehouse.com/assets/views/marketing/shared/community-banner-white-47072046c51352fe6a69f5e691ff5700b28bb11d45197d7bdf066d9ea3f72d0c.webp)
![Nouh Ahmed](https://uploads.teamtreehouse.com/production/profile-photos/7041412/micro_14572321_1794887380789928_4038452757373820940_n.jpg)
Nouh Ahmed
7,085 PointsBootstrap 4 is not working
I run the workspace for this lesson(Column Ordering) and i did not get the expected result. What is the problem
1 Answer
![Dave McFarland](https://uploads.teamtreehouse.com/production/profile-photos/408222/micro_1M7A0052.jpg)
Dave McFarland
Treehouse TeacherSorry Nouh Ahmed
Bootstrap 4 has changed since this video was shot. In the alpha v6, the class names for pushing, pulling and offsetting columns has changed.
Pushing and pulling columns
Instead of col-lg-push-4
to push a column over 4 columns to the right you use push-lg-4
. Likewise to pull a column to the left 4 columns use push-lg-4
.
For this video, to push the first column 4 columns to the right and place it in the middle (on large breakpoints), use this code:
<div class="col-md-4 push-lg-4">
To pull the second column over 4 columns to the left side (on large breakpoints):
<div class="col-md-4 pull-lg-4">
Offsetting columns
The classnames for offsetting columns has also changed. Instead of col-xl-offset-2
to move a column 2 units over on extra large screens you use offset-xl-2
.
For this video, to offset the signup form at the bottom of the page so that it aligns with the right edge on extra large screens, use this code:
<div class="col-md-6 col-xl-5 offset-xl-2">
You can read more about the proper class names here:
Michal Janek
Front End Web Development Techdegree Graduate 30,654 PointsMichal Janek
Front End Web Development Techdegree Graduate 30,654 PointsCan you be more specific? You mean you wrote everything what the video suggested and it did not work for you? If that is the case then be aware that Bootstrap 4 is (or at least was) at alpha stage in development that means a lot of class names are no longer the same, outdated. The concept is still the same you just have to open the documentation webpage yourself and look the class names for yourself.