2
I’m having trouble aligning the responsiveness of my dashboard. Here’s an image of how it looks on large screens.
But if I lower the screen a little bit it shuffles like this:
Below the code snippet HTML
from the page where I quote this part. Am I doing something wrong? How can I fix this?
<div class="right_col" role="main">
<!-- top tiles -->
<div class="row tile_count">
<div class="col-md-2 col-sm-4 col-xs-6 tile_stats_count">
<span class="count_top">
<i class="fa fa-user"></i> Ouvintes Únicos</span>
<div class="count">37</div>
</div>
<div class="col-md-2 col-sm-4 col-xs-6 tile_stats_count">
<span class="count_top">
<i class="fa fa-star"></i> Marcações de Favoritos</span>
<div class="count">14</div>
</div>
<div class="col-md-2 col-sm-4 col-xs-6 tile_stats_count">
<span class="count_top">
<i class="fa fa-play"></i> Contagem de Plays</span>
<div class="count green">146</div>
<span class="count_bottom">
<i class="green">
<i class="fa fa-sort-asc"></i>34% </i> From last Week</span>
</div>
<div class="col-md-2 col-sm-4 col-xs-6 tile_stats_count">
<span class="count_top">
<i class="fa fa-users"></i> Recados no Mural</span>
<div class="count">4</div>
<!-- <span class="count_bottom"><i class="red"><i class="fa fa-sort-desc"></i>12% </i> From last Week</span> -->
</div>
</div>
</div>
Modify the class "col-Sm-4" to col-Sm-6
– Adriano Silva
Hunter if possible put the CSS you used to customize the bar, without it is impossible to simulate your error
– hugocsl
If I remember correctly, Bootstrap works with 12 columns, but you defined 4 elements that occupy 4 columns each (this would give 16 columns).
– Woss