Viewing 17 posts - 1 through 17 (of 17 total)
  • Author
    Posts
  • #1188888

    Hi guys,

    I’m having this issue where the layer slider blinks white before transitioning to the next slide. is there a way to fix this? THANK YOU!

    #1189565

    Hey bobfurgo,

    Thank you for the inquiry.

    We can’t really reproduce the issue on Firefox Windows 10. Where are you testing it? Are you using the navigation, or is it only happening when the slider auto rotates? Please provide a screenshot.

    Best regards,
    Ismael

    #1189751

    I’m seeing it happen in all browsers. I can’t provide a screenshot because that won’t capture the “blink”, it happens so fast. It happens both when you use the navigation and when it auto rotates.

    #1189754

    Hi,

    It only happens when I first load the slides. Please consider optimizing images and that should help :)

    Best regards,
    Yigit

    #1189759

    Hi there, I think it’s happening for all slides… and I actually do have the images optimized via a plugin already!

    #1190022

    Hi,

    It only happens on first rotation, when images are loaded for the first time. After that, there is no flickering. That is why I thought optimizing images would help. Could you please try optimizing using this software – https://imageoptim.com/ and then uploading them?

    Best regards,
    Yigit

    #1190136

    Hi there, just used it to optimize and reuploaded but it’s still blinking unfortunately.

    #1191397

    Hi,

    Did you specify the transition effect for each slides? The blink seems to stop once the browser is resized. Please try this script in the functions.php file.

     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('resize');
                    $(window).trigger('av-content-el-height-changed');
                }, 2000);
    
                $(window).on('load', function() {
                    setTimeout( function() {
                        clearInterval(int);
                    }, 1000 );  
                });
            })(jQuery);" );
        }
     }
     add_action( 'wp_enqueue_scripts', 'ava_enqueue_custom_script_resize', 9999);

    Best regards,
    Ismael

    #1191541

    Hi! I entered the script into the child themes functions.php and this message occured

    “Your PHP code changes were rolled back due to an error on line 12 of file wp-content/themes/Centerstone Executive Search and Consulting/functions.php. Please fix and try saving again.

    syntax error, unexpected ‘&'”

    #1191679

    Hi,

    Did you copy the code from your email? Please make sure that nothing is converted in the code and it stays exactly the same. Try to copy it directly from the forum to prevent conversion of symbols to their html entity code.

    Best regards,
    Ismael

    #1192893

    Hi There! The code is entered correctly now but it is still blinking! :(

    #1193861

    following up on this. thanks!

    #1193973

    Hi,

    What happens when you disable the lazyload option? This config is used by a plugin, but we are not sure which one.

    <script type='text/javascript'>
    window.lazySizesConfig = window.lazySizesConfig || {};
    
    window.lazySizesConfig.lazyClass    = 'lazyload';
    window.lazySizesConfig.loadingClass = 'lazyloading';
    window.lazySizesConfig.loadedClass  = 'lazyloaded';
    
    lazySizesConfig.loadMode = 1;
    </script>
    

    Best regards,
    Ismael

    #1194123

    Hi Ismael! Do i put this in the child theme’s functions.php?

    #1194444

    Hi,

    No, you do not. You seem to have enabled lazyload option for images, probably in a plugin setting. Could you please try to disable it and check once again?

    Best regards,
    Yigit

    #1194446

    that worked. it was the lazy load on teh SMUSH plugin. Thanks so much yigit

    #1194447

    Hi,

    You are welcome! Glad Ismael could help :)

    Let us know if you have any other questions or issues!

    Best regards,
    Yigit

Viewing 17 posts - 1 through 17 (of 17 total)
  • The topic ‘layerslider blinks on slide transition’ is closed to new replies.