I am using repeat field. I want to show an image in the left and text in the right, the same how look this example.
http://www.advancedcustomfields.com/add-ons/repeater-field/
The preview of the website all the images are align on the top and don't with the block of text.
What is the right code for this?
I tried with div but doesn't work
<?php
// or the_repeater_field + the_sub_field
if(get_field('services')): ?>
<?php while(the_repeater_field('services') ): ?>
<div id="services">
<img src="<?php the_sub_field('services_images'); ?>" class="image-left" />
<div id="services-right"><?php the_sub_field('services_content'); ?></div>
</div>
<?php endwhile; ?>
<?php endif; ?>