I have a simple flex-box layout with a container like:
.grid { display: flex; flex-flow: row wrap; justify-content: space-between; }
Simply Use Jquery/Javascript trick to add an empty div:
if($('.exposegrid').length%3==2){ $(".exposegrid").append(''); }