Image Stretch for Elementor Columns

PHOTO EMBED

Mon Aug 30 2021 20:06:15 GMT+0000 (Coordinated Universal Time)

Saved by @shm1ckle #javascript

const images = Array.from(document.querySelectorAll('.stretch img'));
images.map((img) => {
	const height = img.closest('.elementor-widget-wrap').offsetHeight
  	img.style = 'height: ' + height + 'px; object-fit: cover'
})
content_copyCOPY