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

CSS Bootstrap 4 Basics (Retired) Getting to Know Bootstrap 4 Creating a Simple Page

Ishaan Singh
Ishaan Singh
4,639 Points

Bootstrap documentation issue

There's an issue with Bootstrap alhpa.6 documentation. To text-align center, for example, it advises the use of .text-center, however, this does not work (for me at least). When I use .text-xs-center, as shown in the video, it works just fine.

1 Answer

Georgi Koemdzhiev
Georgi Koemdzhiev
12,610 Points

Just use text-center. It seems that Twitter changed the documentation/api see -> https://v4-alpha.getbootstrap.com/utilities/typography/#text-alignment