I am working on a responsive column layout for an online store. I need to display 5 columns on large screens and 2 columns on mobile screens using Bootstrap4. However, on screens below 576px width, only one column is being rendered instead of two. How can I fix this issue? I tried using the .d-block .d-sm-none class, but it's not working as expected. Here is the code snippet:
<div class="container">
<div class="card-deck">
<div class="card mb-4">
<img class="card-img-top img-fluid" src="images/shoe7.png" alt="adidas 1">
<div class="card-body text-center">
<h5><b>MRP:</b> <span class="orangeText"><i class="fas fa-rupee-sign"></i> 800</span></h4>
<h3><b>WSP: <span class="orangeText"><i class="fas fa-rupee-sign"></i> 350</span></b></h2>
<h5>It is inspired by two icons of big Air: the Air Max 180</h5>
</div>
</div>
...
<div class="card mb-4">
<img class="card-img-top img-fluid" src="images/shoe2.png" alt="Card image cap">
<div class="card-body text-center">
<h5><b>MRP:</b> <span class="orangeText"><i class="fas fa-rupee-sign"></i> 800</span></h4>
<h3><b>WSP: <span class="orangeText"><i class="fas fa-rupee-sign"></i> 350</span></b></h2>
<h5>Limnos CAT 3 IDP Shoes. Black-Barbados Cherry.</h5>
</div>
</div>
</div>
</div>