Struggling to align 5 varied-width Bootstrap columns in the center of the page? The new flex/grid features should make it possible, but something seems to be missing. Take a look at this image from the FF inspector for reference: https://i.sstatic.net/q4utW.png
The issue appears to be with the right side of the blue area, which is longer than the left side. Everything else seems symmetrical.
Below is the Bootstrap HTML used to create the layout:
<div class="row">
<div id="copyDateText" class="row col-sm-8 offset-sm-2 mx-auto text-center">
<div class="col-sm-auto">
About Us
</div>
<div class="col-sm-auto">
Site Map
</div>
<div class="col-sm-auto">
View our Privacy & Terms
</div>
<div class="col-sm-auto">
Security
</div>
<div class="col-sm-auto">
<span style="vertical-align:top;">©2005-$date.get('yyyy') Company, Inc. All Rights Reserved.</span>
</div>
</div>
If the issue lies within col-sm-8 offset-sm-2
, there may be another way to center the content effectively without sacrificing alignment.