I'm having trouble aligning the tab list to the center. The image below shows that it's currently shifted to the left. I've already included the Bootstrap class center-block, but it doesn't seem to be working. Can anyone help me out with this? https://i.sstatic.net/b7mRM.png
Below is the HTML code snippet:-
<ul class="nav nav-tabs center-block" role="tablist">
<!-- Schedule -->
<li role="presentation" class="active">
<a href="#" aria-controls="dem" role="tab" data-toggle="tab">
<img alt="icon" src="#" class="iconDark">
<img alt="icon" src="#" class="iconWhite">
<span>Schedule</span>
</a>
</li>
<!-- Resource -->
<li role="presentation">
<a href="#" aria-controls="resource" role="tab" data-toggle="tab">
<img alt="icon" src="#" class="iconDark">
<img alt="icon" src="#" class="iconWhite">
<span>Resource</span>
</a>
</li>
<!-- Automation -->
<li role="presentation">
<a href="#" aria-controls="automation" role="tab" data-toggle="tab">
<img alt="icon" src="#" class="iconDark">
<img alt="icon" src="#" class="iconWhite">
<span>Automation</span>
</a>
</li>
<!-- Customize -->
<li role="presentation">
<a href="#" aria-controls="customize" role="tab" data-toggle="tab">
<img alt="icon" src="#" class="iconDark">
<img alt="icon" src="#" class="iconWhite">
<span>Customize</span>
</a>
</li>
</ul>
And here's my CSS for reference:-
.ilpFeatureSection .nav-tabs {
border-bottom: none
}
@media(min-width:480px) {
.ilpFeatureSection .nav-tabs {
width: 390px
}
}
@media(min-width:768px) {
.ilpFeatureSection .nav-tabs {
width: 600px
}
}
@media(min-width:992px) {
.ilpFeatureSection .nav-tabs {
width: 800px
}
}
@media(min-width:1200px) {
.ilpFeatureSection .nav-tabs {
width: 1000px
}
}
Any assistance would be greatly appreciated. Thank you :)