<!-- BEGIN STEPS --> <div class="row margin-bottom-40 front-steps-wrapper front-steps-count-3"> {{-- Dynamically count the steps and choose the appropriate col-md-x --}} @php($c=0) @foreach ($so->steps as $o) <div class="col-md-4 col-sm-4 front-step-col"> <div class="front-step front-step{{ ++$c }}"> <h2>{{ $o['title'] }}</h2> <p>{{ $o['description'] }}</p> <br> </div> </div> @endforeach </div> <!-- END STEPS -->