-
AuthorPosts
-
September 30, 2021 at 5:27 pm #1323060
We have recently updated everything and on pages with easy slider everything below is way down the page with a large gap when it shouldn’t be, when the easy slider changed from slide 1 to 2 it fixes it and moves back up the page but obviously this is not working the way it should and we need a fix ASAP.
Here are pages the problem occurs:
Issue with image rollover is on this page – https://harrisonwaterproofing.co.uk/case-studies/
You will see when scrolling over the image there is a massive white transparent box that appears that is way to big and shouldn’t be like thatOctober 1, 2021 at 9:00 am #1323105Hey CatchPR-Sa-Ra,
Thank you for the inquiry.
Looks like the gap or space below the slider only occurs on page load. It gets removed once we manually resize the browser. Adding this script in the functions.php might help.
function ava_enqueue_custom_script_resize() { if ( wp_script_is( 'avia-default', 'registered' ) ) { wp_add_inline_script( 'avia-default', "(function($){ var int = window.setInterval(function(){ $(window).trigger('av-content-el-height-changed'); }, 1500); $(window).on('load', function() { setTimeout( function() { clearInterval(int); }, 1000 ); }); })(jQuery);" ); } } add_action( 'wp_enqueue_scripts', 'ava_enqueue_custom_script_resize', 9999);
The script above should trigger a resize event every 1.5 seconds and stops once the page is fully loaded.
Best regards,
IsmaelOctober 1, 2021 at 11:04 am #1323112Hi there,
Code doesn’t work for me – syntax error, unexpected ‘&’
Also you have not addressed the issue with rollover image.Also you will be fixing this in the theme and making an update I assume, please confirm this?
October 1, 2021 at 12:19 pm #1323131Hi,
Thank you for the update.
We cannot reproduce the same issue on our end, so it is probably cause by a plugin or a custom script. Did you copy the code directly from this forum?
For the image overlay or “rollover”, please try this code in the Quick CSS field.
.avia-image-container.av-hover-grow, .avia-image-container.av-hover-grow .avia-image-container-inner, .avia-image-container.av-hover-grow .avia-image-overlay-wrap a.avia_image { overflow: hidden; }
Make sure to toggle or temporarily disable the Enfold > Performance > File Compression settings after adding the css code.
Best regards,
IsmaelOctober 1, 2021 at 12:23 pm #1323134Yes you are right, it was litespeed cache plugin, deactivated and fine now. thanks for your help
October 2, 2021 at 4:20 am #1323220 -
AuthorPosts
- You must be logged in to reply to this topic.