I have the following demo code for making a list of links:
<div class="container-fluid">
<div class="row justify-content-center">
<div class="col-auto col-md-3">
<ul class="list-unstyled">
<li>First List Item</li>
<li>Second list item</li>
</ul>
</div>
<div class="col-auto col-md-3">
<ul class="list-unstyled">
<li>First List Item</li>
<li>Second list item</li>
</ul>
</div>
<div class="col-auto col-md-3">
<img src="http://placekitten.com/g/200/300" >
</div>
</div>
</div>
You can see the result in this codeply
When the screen is small the columns are all centered in the space. However, when the screen size is larger I want more space between the columns. So I'm using Bootstrap utility classes setting the columns to col-md-2.
The problem is that I want the text to be aligned left in the list (which it is) and the list itself centered in each column so that the contents of the entire row look centered on the page.
Currently, each list is left aligned in each column.
Contrary to the comment that this question has already been asked, it has not in this particular context. I am asking about centering vertical list, not a horizontally aligned list.
I am not asking how to horizontally align the lists only but how to center the content AND and center the content in the lists while keeping the text left aligned in each list.