So here is what I'm trying to do. I have some divs with background images name Look-1.jpg - Look-6.jpg. what I need to do is to add -cut to all of them at once so basically change them to Look-6-cut.jpg.
The reason I'm trying to do this is because I have 2 collection of background images and I'm trying to switch them on different screen sizes.
Of course it's possible to do so with css but then I have to do each one of them one by one.
I was wondering if there's a way to achieve this using jQuery.
Thanks
<div class="item active" style="background: url('/assets/img/collection/Look-1.jpg') center center no-repeat;">
<div class="carousel-caption item-caption">
<h5 class="text-black">200 TC Cotton Percale Duvet Cover</h5>
<a href="#" class="link-inline">View Product<i class="fa fa-angle-right"></i></a>
</div>
</div>