Bootstrap Carousel Caption Top Alignment?

konalion picture konalion · Jan 19, 2014 · Viewed 52.8k times · Source

I'm not trying to do anything too fancy here, but instead of the Bootstrap Carousel Captions defaulting to aligning to the bottom of the Carousel, how do I get them to default align to the top?

Answer

koala_dev picture koala_dev · Jan 19, 2014

Add this to your css to change the element position:

.carousel-caption {
    top: 0;
    bottom: auto;
}

See demo fiddle