The row-fluid is a class that you add to the div tag in the html in your page.
I presume you are using the “cover
” value for the background-size property. That’s a good way to make a background image responsive.
If you want your border never to be overlapped, then you could try using the offset
x class. This works in conjunction with, and in the same way as, the span
x classes explained in the layout examples. It allows you effectively to “indent” your rows.
So for example, if you want 4 images, each with 2/12 width, indented 2/12 of the grid, then you can use the following in your page:
<div class="row-fluid offset2">
<div class="span2">
[caption id="" align="aligncenter" width="600"]<a href="https://lorempixel.com/600/400/nature/"><img alt="A random image" src="https://lorempixel.com/600/400/nature/" width="600" height="400" /></a> A random image[/caption]
</div>
<div class="span2">
[caption id="" align="aligncenter" width="600"]<a href="https://lorempixel.com/600/400/people/"><img alt="Another random image" src="https://lorempixel.com/600/400/people/" width="600" height="400" /></a> Another random image[/caption]
</div>
<div class="span2">
[caption id="" align="aligncenter" width="600"]<a href="https://lorempixel.com/600/400/technics/"><img alt="Yet another random image" src="https://lorempixel.com/600/400/technics/" width="600" height="400" /></a> Yet another random image[/caption]
</div>
<div class="span2">
[caption id="" align="aligncenter" width="600"]<a href="https://lorempixel.com/600/400/technics/"><img alt="A final random image" src="https://lorempixel.com/600/400/city/" width="600" height="400" /></a> A final image[/caption]
</div>
</div><!-- .row-fluid offset2 -->
Try it out: just cut and paste into your page. The images will load remotely. Once you have the layout you want, you can substitute your own images using the add media button.