I'm struggling to horizontally center the content in the "row" class div. I've attempted using justify-content-center and other variations.
<div class="container">
<div class="row">
<div class="col-md-4 portfolio-item">
<h3>
<a href="#">Text</a>
</h3>
<p>
Lorem Ipsum is simply dummy text of the printing and typesetting industry. It has been the industry's standard dummy text ever since the 1500s.
</p>
<p>
It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages.
</p>
</div>
<div class="col-md-4 portfolio-item">
<a href="#" target="_blank">
<img class="img-responsive" srcset="icon.png 1x, iconRetina.png 2x">
</a>
<a href="#" target="_blank">
<img class="img-responsive" srcset="downloadOnAppStore.png 1x, downloadOnAppStoreRetina.png 2x">
</a>
</div>
</div>
</div>
The current answers seem to center the content, but it's not exactly what I'm looking for. I want the width of the content to align with the center of the page, regardless of the page's width.
Current layout: https://i.sstatic.net/dX8Fv.png
I want to achieve a layout like this: https://i.sstatic.net/8v7H0.png
The issue appears to be that the columns are taking up 50% of the row's width.