Update: Follow this tutorial instead.
Use case: Show an ad after every 3rd post.
This is based on the previous How to Insert Element(s) Between Query Loop Posts in Bricks tutorial.
It is possible to apply display: grid to the query loop element's parent if a grid layout is needed.
Let's define a couple of custom functions for getting the loop index and the modulus of loop index.
This is a BricksLabs Pro tutorial.
For full access login below or create your BricksLabs Pro account