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

HTML

Bootstrap columns not equal height so not displaying properly - Is clearfix the answer?

Hi,

The columns in my Bootstrap grid to render so that there's not big gaps everywhere - this is happening because my columns are not of equal height. I've been searching for an answer and I think it may be something to do with clearfix - but I can't quite crack it.

The page in question is here - http://www.danielbeale.co.uk/donalberto/menu.html

Can anyone help?

Thanks, Dan

2 Answers

Personally, I would create 1 row with 3 columns in it and stack the content within the 3 columns.

The stacked the information would then be easier to rearrange and balance to the page. To me, this very much looks like a content/design issue, instead of a bootstrap or clearfix issue, but that might just be me :)

There is a great article on that here - requires adding some CSS classes: http://www.minimit.com/articles/solutions-tutorials/bootstrap-3-responsive-columns-of-same-height

I really miss Equalizer js feature from Foundation Responsive Framework http://foundation.zurb.com/docs/components/equalizer.html