I’m using Carousel in Materialize, text below the image is blocked by div it doesn’t show the rest. Any solution to shows all the text? (Z-index is way to messy)
HTML
<!-- Carousell-->
<div class="carousel">
<div class="carousel-item">
<img class="materialboxed" width="400px" src="personal/shanghai.jpg" alt="shanghai">
<h2 class="caption">Shanghai Old Millfun, a monstrous concrete, steel, and glass slaughterhouse built in early twentieth century during pre-communist Shanghai.
Shanghai 2013
</h2>
</div>
<a class="carousel-item valign-wrapper" href="#two!">
<img class="materialboxed" width="400px" src="personal/refugees.jpg" alt="refugees">
</a>
<a class="carousel-item" href="#three!">
<img class="materialboxed" width="400px" src="personal/taiya.jpg" alt="taiya">
</a>
<a class="carousel-item valign-wrapper" href="#four!">
<img class="materialboxed" width="400px" src="personal/image1.jpg" alt="arizona">
</a>
<a class="carousel-item" href="#five!">
<img class="materialboxed" width="400px" src="personal/gasstation.jpg" alt="gas station">
</a>
<a class="carousel-item valign-wrapper" href="#six!">
<img class="materialboxed" width="400px" src="personal/womenmarch.jpg" alt="women march">
</a>
</div>
CSS
h2 {
font-size: 16px;
color: #757575;
font-family: Source Sans Pro;
}
.carousel .carousel-item{
width: 400px;
height: 100%;
margin-top: 50px;
}