## Show articles in Pair

Question

I’m looking at displaying articles in twos. ie:

<section class="side" data-role="side" id="section-section1">
Two articles
</section>

<section class="side" data-role="side" id="section-section2">
Next Two articles
</section>

<section class="side" data-role="side" id="section-section3">
Next Two articles
</section>


I’m currently using an offset but eventually as more articles are added I need it to automatically keep pairing the articles.

Does anyone have a clever solution or am I stuck with an offset?

Note: I have no option apart from displaying in pairs due to the design.

0
3 years 2019-10-28T09:16:12-05:00 0 Answers 63 views 0