I have a total of 7 images that I need to display in a specific layout. The requirement is to show 5 images in one row and 2 more images in a centered row below. Although I was able to position the first row correctly, I am struggling with centering the second row of images below it. Additionally, when viewing the page in responsive mode, the images should appear stacked on top of each other with a border-radius of 100%. However, for some reason, this styling is not being applied correctly. Can anyone identify what might be wrong with my code? This is the HTML structure:
@media all and (max-width: 1024px) {
.ring {
border-radius: 100%;
}
}
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js"></script>
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" rel="stylesheet"/>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js"></script>
<div class="container">
<div class="row">
<div class="col-sm col-6">
<div class="single-specials text-center wow fadeInUp" data-wow-delay="0.1s" style="border-radius: 0;">
<img src="img/1.jpg" style="border-radius: 100%;">
</div>
</div>
... (other image sections follow) ...
</div>
</div>
<div class="container">
<div class="row">
<div class="col-sm">
<div class="single-specials text-center wow fadeInUp" data-wow-delay="1.1s" style="border-radius: 0;">
<img src="img/2.png" style="border-radius: 100%; width: 150px; height: 150px;">
</div>
</div>
... (more image sections follow) ...
</div>
Currently, I am utilizing Bootstrap 4 for this task. If there are alternative ways to achieve the desired layout without relying on Bootstrap, I would appreciate any suggestions or examples. Thank you.