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 Framework Basics Prototyping with Bootstrap Building a Carousel

carousel's size changing when you change the slide??

I noticed Guil changed one of his silde' content to make it shorter so it has the same height with the other two slides. So my question is how to make my carousel a fixed height even my slides have different content with different height?

2 Answers

Here's what I did: 1. Set the slider class's min-height to 329px.

  1. Set the item class's height to 233px. All done! Hope this works.
Devin Scheu
Devin Scheu
66,191 Points

Use the max-height property. That should work.