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


Bootstrap grid system help- columns not working

I have this HTML code but I can't figure out why Bootstrap grids are not working. Maybe I am placing the classes on the wrong divs or adding extra tags.

<div class="container">
    <div class="weekDays row">
        <div id="monday" class="col">
        <div id="tuesday" class="col">
        <div id="wednesday" class="col">
        <div id="thursday" class="col">
        <div id="friday" class="col">
        <div id="saturday" class="col">
        <div id="sunday" class="col">

1 Answer

Sam Gord
Sam Gord
14,084 Points

are you importing bootstrap to your project correctly? your code looks fine, maybe the problem's hiding in the way bootstrap has been added to your project :)

I have eventually figured out the problem. I put a /display: block;/ on the weekDays class (several days ago when I was just starting my project) in my CSS that was taking priority over the Bootstrap. Erasing it solved the problem. Thank you for your answer!