I am having trouble displaying images horizontally in a row. I am aiming to show 8 images next to each other, but my current grid system setup is not achieving this. The images are currently stacked on top of each other, but I want them to be aligned horizontally. When I try using col-md-1
or col-md-2
, the layout is not coming out as intended. How can I resolve this issue? Thank you in advance!
Here is the code snippet I am working with:
<div class="row">
<div class="col-md-1.5">
<div class = "thumbnail">
<img src="pics/LogoIcon01_over.png" alt="160x66" >
</div>
</div>
<div class="col-md-1.5">
<div class = "thumbnail">
<img src="pics/LogoIcon02_over.png" alt="160x66" >
</div>
</div>
<div class="col-md-1.5">
<div class = "thumbnail">
<img src="pics/LogoIcon03_over.png" alt="160x66" >
</div>
</div>
<div class="col-md-1.5">
<div class = "thumbnail">
<img src="pics/LogoIcon04_over.png" alt="160x66" >
</div>
</div>
<div class="col-md-1.5">
<div class = "thumbnail">
<img src="pics/LogoIcon05_over.png" alt="160x66" >
</div>
</div>
<div class="col-md-1.5">
<div class = "thumbnail">
<img src="pics/LogoIcon06_over.png" alt="160x66" >
</div>
</div>
<div class="col-md-1.5">
<div class = "thumbnail">
<img src="pics/LogoIcon07_over.png" alt="160x66" >
</div>
</div>
<div class="col-md-1.5">
<div class = "thumbnail">
<img src="pics/ViewBrandsButton.png" alt="160x66" >
</div>
</div>
</div>