I'm currently trying to add a bootstrap carousel to this website in which I'm making for someone and every time I add a photo or a caption, the photos either line up in a list and the captions stack up on top of each other. Can someone help ?
This is what the website looks like:
Photos stacked on top of each other:
What the caption looks like with a <h3>
and a <h4>
string:
This is the bit of code (I used the template that bootstrap has on their website):
<section class="container">
<div class="row">
<div class="col-sm-12">
<div id="my-slider" class="carousel slide col-sm-12" data-ride="carousel">
<!-- indicators -->
<ol class="carousel-indicators">
<li data-target="#my-slide" data-slide-to="0" class="active"></li>
<li data-target="#my-slide" data-slide-to="1"></li>
<li data-target="#my-slide" data-slide-to="2"></li>
<li data-target="#my-slide" data-slide-to="3"></li>
</ol>
<!-- wrappers -->
<div class="carousel-inner" role="listbox">
<div class="item active">
<img src="" alt=""/>
<div class="carousel-caption">
<h3>Flutes of the World Concert</h3>
<h5>with Tereasa Payne</h5>
</div>
</div>
<div class="item">
<img id="img" src="img/RPO_Siku.jpg" alt="siku"/>
<div class="carousel-caption">
<h4></h4>
<h5></h5>
</div>
</div>
<div class="item">
<img id="img" src="img/RPO_Nose_Flute_Laughing.jpg" alt=""/>
<div class="carousel-caption">
<h4></h4>
<h5></h5>
</div>
</div>
<div class="item">
<img id="img" src="img/RPO_playing_Toyo.jpg" alt=""/>
<div class="carousel-caption">
<h4></h4>
<h5></h5>
</div>
</div>
<div class="item">
<img src="img/RPO_Native_American_Flute.jpg" alt=""/>
<div class="carousel-caption">
<h4></h4>
<h5></h5>
</div>
</div>
</div>
<!-- controls -->
<a class="left carousel-control" href="#my-slider" role="button" data-slide="prev">
<span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="right carousel-control" href="#my-slider" role="button" data-slide="next">
<span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div>
</div>
</div>
</section>