I am getting use to the responsiveness of bootstrap and I have hit a small snag, normally I would have more than 2 images to display, but as of right now I only have 2 images and I would like to center them on this page link below for the time being and have them be responsive also.
http://dagrafixdesigns.com/2019/industrial-darker/graphics.html
Click on RAFTERS TAB
I know I can do this with margins or padding, but I don't want to also have to make a media css to get it to look right on devices etc.
Is there a easy add to the element to make this happen? It seems text-align inline html did nothing nor did center tag.
Thank you Dean
CODE SNIP of how it is currently
<div class="row project-listing">
<div class="col-md-4 project-block"><!--Project block start-->
<div class="pro-thumb"><!--Pro thumb start-->
<a href="images/Hang/PG_ZOOM.png" class="image-link" title="Project Light Box Gallery Title"> <img src="images/Hang/PG_ZOOM.png" alt="" class="img-responsive"> </a>
</div>
<!--Pro thumb start-->
</div>
<!--Project block start-->
<div class="col-md-4 project-block"><!--Project block start-->
<div class="pro-thumb"><!--Pro thumb start-->
<a href="images/Hang/AB_ZOOM.png" class="image-link" title="Project Light Box Gallery Title 2"><img src="images/Hang/AB_ZOOM.png" alt="" class="img-responsive"></a>
</div>
<!--Pro thumb start-->
</div>
<div class="hiderafters">
<div class="col-md-3 project-block"><!--Project block start-->
<div class="pro-thumb"><!--Pro thumb start-->
<a href="images/gallery-zoom.jpg" class="image-link" title="Project Light Box Gallery Title 3"><img src="images/thumb.jpg" alt="" class="img-responsive"></a>
</div>
<!--Pro thumb start-->
</div>
<div class="col-md-3 project-block"><!--Project block start-->
<div class="pro-thumb"><!--Pro thumb start-->
<a href="images/gallery-zoom.jpg" class="image-link" title="Project Light Box Gallery Title 4"><img src="images/thumb.jpg" alt="" class="img-responsive"></a>
</div>
<!--Pro thumb start-->
</div>
<div class="col-md-3 project-block"><!--Project block start-->
<div class="pro-thumb"><!--Pro thumb start-->
<a href="images/gallery-zoom.jpg" class="image-link" title="Project Light Box Gallery Title 5"> <img src="images/thumb.jpg" alt="" class="img-responsive"> </a>
</div>
<!--Pro thumb start-->
</div>
<!--Project block start-->
<div class="col-md-3 project-block"><!--Project block start-->
<div class="pro-thumb"><!--Pro thumb start-->
<a href="images/gallery-zoom.jpg" class="image-link" title="Project Light Box Gallery Title 6"><img src="images/thumb.jpg" alt="" class="img-responsive"></a>
</div>
<!--Pro thumb start-->
</div>
<div class="col-md-3 project-block"><!--Project block start-->
<div class="pro-thumb"><!--Pro thumb start-->
<a href="images/gallery-zoom.jpg" class="image-link" title="Project Light Box Gallery Title 7"><img src="images/thumb.jpg" alt="" class="img-responsive"></a>
</div>
<!--Pro thumb start-->
</div>
<div class="col-md-3 project-block"><!--Project block start-->
<div class="pro-thumb"><!--Pro thumb start-->
<a href="images/gallery-zoom.jpg" class="image-link" title="Project Light Box Gallery Title 8"><img src="images/thumb.jpg" alt="" class="img-responsive"></a>
</div>
</div>
<!--Pro thumb start-->
</div>
</div>
Use flexbox
remove the row and col-* bootstrap classes as well.
Here's a great resource to get started on flexbox:
https://css-tricks.com/snippets/css/a-guide-to-flexbox/