Bootstrap offset?

Bootstrap offset?


Hey guys. I’m currently working on my Twitch.TV API project, and I’d like to use the offset class to move some elements to the center of my page. I’ve had trouble with this in the past, and just gave up and used css grid instead. But I’d really like to figure this out since I’m sure I’m going to want to use bootstrap in the future.

Here’s a link to my pen.

You’ll see the following on line 8:

<div class="row text-center col-md-6 offset-md-3">

But, while the content of that div are taking up 6 columns, those columns are not centered. What am I missing here? Thanks!


Hi, offset class format should be: col-md-offset-3

class="row col-md-6 col-md-offset-3 text-center"