Hey there! I'm having an issue with the responsiveness of a carousel on my website. The problem is that I have 7 horizontal images (1800x1200) in the carousel, but the last one is vertical and I can't seem to code it properly to make it responsive:
Check out the carousel here
Here's the code for the carousel:
<div class="row">
<div class="col-md-1 hidden-xs"></div>
<div class="col-md-10 col-xs-12 col-sm-12">
<div id="carouselExampleControls" class="carousel slide carousel-fade" data-ride="carousel" data-interval="10000">
<div class="carousel-inner">
<div class="carousel-item active">
<img src="img/refugio/01.jpg" class="d-block w-100" alt="...">
</div>
<div class="carousel-item">
<img src="img/refugio/02.jpg" class="d-block w-100" alt="...">
</div>
<div class="carousel-item">
<img src="img/refugio/03.jpg" class="d-block w-100" alt="...">
</div>
<div class="carousel-item">
<img src="img/refugio/04.jpg" class="d-block w-100" alt="...">
</div>
<div class="carousel-item">
<img src="img/refugio/05.jpg" class="d-block w-100" alt="...">
</div>
<div class="carousel-item">
<img src="img/refugio/06.jpg" class="d-block w-100" alt="...">
</div>
<div class="carousel-item">
<img src="img/refugio/07.jpg" class="d-block w-100" alt="...">
</div>
<div class="carousel-item" align="center">
<img src="img/refugio/08.jpg" class="d-block img-fluid" alt="...">
</div>
</div>
<a class="carousel-control-prev" href="#carouselExampleControls" role="button" data-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="carousel-control-next" href="#carouselExampleControls" role="button" data-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div>
<p>Proyecto abierto</p>
<p align="right">Asturias · 2017/18</p>
</div>
<div class="col-md-1 hidden-xs"></div>
</div
I've tried replacing class="d-block w-100" with class="d-block img-fluid", but it's not working as expected.
Any help or suggestions would be greatly appreciated :-)
Thanks so much, Luis