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 trialtian jin
Courses Plus Student 5,162 Pointscarousel'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
Albert Terc
2,413 PointsHere's what I did: 1. Set the slider class's min-height
to 329px
.
- Set the item class's
height
to233px
. All done! Hope this works.
Devin Scheu
66,191 PointsUse the max-height property. That should work.