This question has been answered by sottwell. See the first response.
<ul class="slides">
<li>
<div class="row">
[[!getResources? &parents=`83`
&limit=`0`
&tpl=`HighlightTpl`
&showHidden=`1`
&includeTVs=`1`
&processTVs=`1`
&includeContent=`1`
&tpl_n4=`HighlightEndOfGroupTpl`
&tvFilters=`highlightArchived!=1`
&sortby=`{"publishedon":"DESC"}` ]]
</div>
</li>
</ul>
<div class="col-lg-3 col-md-3 col-sm-3"> <div style="height:200px;"> <img class="img-responsive" src="[[+tv.requiredPostImage:phpthumbof=`&w=255&h=175`]]" alt="Highlight image"> </div> <h3><a href="highlights#[[+alias]]">[[+pagetitle]]</a></h3> <p>[[+introtext:default=`[[+content:strip_tags:ellipsis=`100`]]`]] <a href="highlights#[[+alias]]"><em>Read more</em></a></p> </div>
</div> <!--end of row--> </li> <li> <div class="row"> [[$HighlightTpl]]
<div class="col-lg-3 col-md-3 col-sm-3">
<h3><a href="highlights#[[+alias]]">[[+pagetitle]]</a></h3>
<p><a href="highlights#[[+alias]]"><em>Read more</em></a></p>
</div>
</div> <!--end of row-->
</li>
<li>
<div class="row">
<div class="row">
<ul class="slides">
[[!getResources? &parents=`83`
&limit=`0`
&tpl=`HighlightTpl`
&showHidden=`1`
&includeTVs=`1`
&processTVs=`1`
&includeContent=`1`
&tpl_n3=`HighlightEndOfGroupTpl`
&tpl_last=`HighlightTpl`
&tvFilters=`highlightArchived!=1`
&sortby=`{"publishedon":"DESC"}` ]]
</ul>
</div>
<li>
<div class="col-lg-3 col-md-3 col-sm-3">
<div style="height:200px;">
<img class="img-responsive" src="[[+tv.requiredPostImage:phpthumbof=`&w=255&h=175`]]" alt="Highlight image">
</div>
<h3><a href="highlights#[[+alias]]">[[+pagetitle]]</a></h3>
<p>[[+introtext:default=`[[+content:strip_tags:ellipsis=`100`]]`]] <a href="highlights#[[+alias]]"><em>Read more</em></a></p>
</div>
</li>
</ul> </div> <!--end of row--> <div class="row"> <ul> [[$HighlightTpl]]
It's doing what you ask it to do... each 4th one starts a new row. That means #4 will start a new row; there will be 3 in the first row. #8 will start a new row, there will be 4 in the new row. Put the end-of-row, start-new-row AFTER displaying the nth item:
How does this work for n4 (or n3, if you want 3 in a row)
</div></li><div class="col-lg-3 col-md-3 col-sm-3"> <h3><a href="highlights#[[+alias]]">[[+pagetitle]]</a></h3> <p><a href="highlights#[[+alias]]"><em>Read more</em></a></p> </div> <!--end of row--> <li> <div class="row">