<section class="baner">
 <div class="container">
    <div class="row">
    <?php if( have_rows('ads') ): ?>
      <?php while( have_rows('ads') ): the_row(); ?>

          <div class="ads col-12 col-md-6">
              <a title="" href="<?php the_sub_field('link'); ?>">
                <img alt="" src="<?php the_sub_field('img'); ?>">
              </a>
          </div>
       
      <?php endwhile; ?>
     <?php endif; ?> 

	   </div>
  </div>
</section>
