I'm developing this site in bootstrap link
However, down in the specialties section, I have 7 elements on the same line. I had to use a "gambiarra technique" to align them, as I did not find a specific class that supports the 7 in the same line. In the desktop version everything is fine, but in the mobile version the elements are left aligned and disorganized.
Below is my code:
<div class="feature-box">
<div class="col-sm-2 text-center wow fadeInUp animated" style="visibility: visible; animation-name: fadeInUp;" data-wow-animation-name="fadeInUp">
<div class="feature-box-heading">
<em>
<img width="59" height="55" alt="" src="img/icon-botox.png">
</em>
<h4>Botox e DTM</h4>
</div>
</div>
<div class="col-sm-2 text-center wow fadeInUp animated" style="visibility: visible; animation-name: fadeInUp;" data-wow-animation-name="fadeInUp">
<div class="feature-box-heading">
<em>
<img width="41" height="55" alt="" src="img/icon-clareamento.png">
</em>
<h4>Clareamento</h4>
</div>
</div>
<div class="col-sm-2 text-center wow fadeInUp animated" style="visibility: visible; animation-name: fadeInUp;" data-wow-animation-name="fadeInUp">
<div class="feature-box-heading">
<em>
<img width="50" height="55" alt="" src="img/icon-implantes.png">
</em>
<h4>
Implantes
</h4>
</div>
</div>
<div class="col-sm-2 text-center wow fadeInUp animated" style="visibility: visible; animation-name: fadeInUp;" data-wow-animation-name="fadeInUp">
<div class="feature-box-heading">
<em>
<img width="50" height="55" alt="" src="img/icon-estetica.png">
</em>
<h4>
Estética
</h4>
</div>
</div>
<div class="col-sm-2 text-center wow fadeInUp animated" style="visibility: visible; animation-name: fadeInUp;" data-wow-animation-name="fadeInUp">
<div class="feature-box-heading">
<em>
<img width="50" height="55" alt="" src="img/icon-odontologia.png">
</em>
<h4>
Odontologia
</h4>
</div>
</div>
<div class="col-sm-2 text-center wow fadeInUp animated" style="visibility: visible; animation-name: fadeInUp;" data-wow-animation-name="fadeInUp">
<div class="feature-box-heading">
<em>
<img width="50" height="55" alt="" src="img/icon-canal.png">
</em>
<h4>
Tratamento de Canal e Ronco
</h4>
</div>
</div>
<div class="col-sm-2 text-center wow fadeInUp animated" style="visibility: visible; animation-name: fadeInUp;" data-wow-animation-name="fadeInUp">
<div class="feature-box-heading">
<em>
<img width="38" height="55" alt="" src="img/icon-proteses.png">
</em>
<h4>
Próteses
</h4>
</div>
</div>
</div>
I have edited the percentage so that the elements behave on the same line without breaking.
#home-especialiadade .col-sm-2 {
width: 14.2%;
}