I have an image that appears multiple times, but I need the image width to increment by 50px each time it appears.
I've tried to accomplish this with jQuery, but I'm having no luck at the moment, any ideas where I'm going wrong?
The HTML that loops through to get each bit of content is:
<h3 class="text-white"><?php the_sub_field('whatcanwedo_stats_number'); ?></h3>
<img src="<?php echo get_stylesheet_directory_uri(); ?>/img/tash5.png" alt="tash5" class="what-can-we-do-tash" />
<p><?php the_sub_field('whatcanwedo_stats_content'); ?></p>
var w = 50;
// what can we do tash
newWidth === w;