The thing is, you can’t have it both ways. Either you have a wide enough horizontal gap to fill the width, or you have a gap on the right hand side.
Of course you could centre the images to give an equal gap both left and right on each row. I think I’d put an extra <div>
round the <article>
elements and give it some left margin or padding if I was to do that. This will involve modifying the template file so you really should transfer all your changes into a child theme and do the modifications there if you’re going to do that.
Or you could alter the width of the #main
and #sticky-area
elements so that the whole thing is less wide. If you only want to do this on the front page you’ll have to use specificity, starting your CSS selector with body.home
.
HTH
PAE