Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #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:

    Case Study Hertfordshire

    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 that

    #1323105

    Hey 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,
    Ismael

    #1323112

    Hi 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?

    #1323131

    Hi,

    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,
    Ismael

    #1323134

    Yes you are right, it was litespeed cache plugin, deactivated and fine now. thanks for your help

    #1323220

    Hi,

    Great, I’m glad that you got it working, and thanks for the update. Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.