Hi, Here are links to screen shots of the home page at fiestapoolsandspas.com. There is a large white space under the hero image and before the rows of images. Can you please advise as to how we can fix it? Thank you so much!
Justine
Hey jnightingale,
Thank you for the inquiry.
For some reason, the slider is not resizing correctly. Please try to toggle or temporarily disable the Enfold > Performance > File Compression settings, then purge the cache or deactivate the cache plugin temporarily. Let us know of the result.
Best regards,
Ismael
Hi, Ismael,
Thank you, but that didn’t work.
Another thought?
Thanks!
Hi,
Thank you for the update.
We are not yet sure what’s causing the issue. In the meantime, please try to add this script in the functions.php file:
add_action('wp_footer', 'ava_auto_resize');
function ava_auto_resize() {
?>
<script>
(function($) {
var resizeInterval = setInterval(function() {
$(window).trigger('resize');
}, 1500);
$(window).on('load', function() {
setTimeout(function() {
clearInterval(resizeInterval);
}, 500);
});
})(jQuery);
</script>
<?php
}
The script should force the slider to resize automatically while the page is loading.
Best regards,
Ismael
Where do I find that file? Thank you!