I'm currently utilizing bootstrap to center a group of social icons beneath an h1 text on all screen sizes. While I've managed to achieve this, there are two specific sizes where the alignment seems to be off.
Here's a snapshot showing a slight left shift
And here is another image displaying a minor rightward shift
Below is the snippet of my code:
<div id="container">
<div class="social-and-coming">
<div class="coming-soon text-center ">
<h1 class="coming ">Coming Soon</h1>
</div>
<div class="row">
<ul class="col-md-offset-3 col-md-11 col-sm-offset-3 col-sm-11 col-xs-offset-1 col-xs-11">
<li class="col-xs-1 col-sm-1 col-md-1"><a href=""><img src="/wp-content/themes/avaziomedia/Facebook.png" alt=""></a></li>
<li class="col-xs-1 col-sm-1 col-md-1"><a href=""><img src="/wp-content/themes/avaziomedia/Twitter.png" alt=""></a></li>
<li class="col-xs-1 col-sm-1 col-md-1"><a href=""><img src="/wp-content/themes/avaziomedia/Instagram.png" alt=""></a></li>
<li class="col-xs-1 col-sm-1 col-md-1"><a href=""><img src="/wp-content/themes/avaziomedia/Youtube.png" alt=""></a></li>
<li class="col-xs-1 col-sm-1 col-md-1"><a href=""><img src="/wp-content/themes/avaziomedia/pinterest.png" alt=""></a></li>
</ul>
</div>
</div>
</div>
Additionally, here is the corresponding css:
#container{
// min-height:100%;
position:relative;
}
.site-title a{
font-family: Heiti TC;
color: #E8970C;
}
.text-center{
color: #E8970C;
}
.coming-soon h1{
font-family: Heiti TC;
font-size: 75px;
}
.row{
// width:700px;
margin: 0px auto;
}
.col-xs-1{
margin-left: 15px;
}
li{
margin-right: 20px;
margin-top: 20px;
}
img{
width:40px;
}
Your assistance with this matter would be greatly valued!