(812) 722-2747

/ WORKAROUND: converting 90vh to px $element = $('.main-banner'); function fixMobileViewport() { $element.css('height', window.innerHeight * 1); } $element = $('.effects .img img'); function fixMobileViewport() { $element.css('height', window.innerHeight * 1); } $element = $('.effects .img2 img'); function fixMobileViewport() { $element.css('height', window.innerHeight * 1); } / listen to portrait/landscape changes window.addEventListener('orientationchange', fixMobileViewport, true); fixMobileViewport();