Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #1261104

    Hi, I have added two Advanced Layerslider (one for desktop and 1 for mobile) on my page.
    This gives me two problems.
    1) All all pictures on the page, desktop version is all gone .
    2) On the mobile version the pictures are there but all “Fade in” is gone.

    Please see page:

    Please help me
    br Carsten

    #1261435

    Hi Carsten,

    Please send us a temporary WordPress admin login and login URL so that we can have a closer look. You can post the details in the Private Content section of your reply.

    Best regards,
    Rikard

    #1261478
    This reply has been marked as private.
    #1262139

    Hi Rikard,
    How are you doing with my problem?

    br Carsten

    #1262887

    Hi,

    Sorry for the delay. The images in the slider are displaying properly on our end and the layers are fading in as expected on mobile view. Did you manage to figure out the issue?

    Best regards,
    Ismael

    #1262944

    Hi Ismael, No it is still not working. The Advanced Layerslider ok but the problem is the rest of the pictures on the page that not is fading in on the mobile. Please look again and compare the page on both desktop and mobile.
    All other pictures besides Advanced Layerslider on the page is gone on desktop and on the mobile version the pictures are there but all “Fade in” is gone.

    Carsten

    #1263200

    Hi,

    Thank you for the update.

    We are now able to reproduce the issue on a device emulation and it seems to be an issue with the jQuery script. Did you set jQuery to load in the footer? Please disable the Load jQuery in your footer option in the Enfold > Performance > Change WordPress defaults section.

    This is the script error in the browser console.

    Uncaught ReferenceError: jQuery is not defined
    

    Best regards,
    Ismael

    #1263206

    Hi Ismael,
    Well that didn’t seem to work. Could you try to fix it? You have the login.

    #1263450

    Hi,

    The Load jQuery in your footer option is still enabled when we checked the Performance panel of the theme options, so we disabled it. We also disabled the file compression settings and it seems to have helped with the issue. The error is now gone and the images are now displaying properly on mobile view. Please remove the browser cache or try to check the site on incognito mode.

    If the issue persists on your end, please try to disable the plugins temporarily, including the cache plugin, and remove the cache before checking the page again.

    Best regards,
    Ismael

    #1263589

    Hi Ismael,
    Im sorry to say but it is not working. It only work the first time you load the page. But when you click a link to another page and go bag to the frontpage via logo in header the images will not load. Furthermore the images are still not loading with “Fade in Animation” on mobile.
    Carsten

    #1263859

    Hi,

    Thank you for the info.

    Does it work properly when there is only one layer slider in the page? The images are probably not fading in because the waypoint script, which is one of the functions responsible for the animation, fails to calculate the height of the hidden layer slider.

    Best regards,
    Ismael

    #1264067

    Hi Ismael, yes it works when there is only one layer slider on the page.
    So what is the solution? i want to have a layer slider for both desktop and mobile!
    Please do your magic

    br
    Carsten

    #1264756

    Hi,

    Thank you for the info.

    We are not really sure if this is going to help, but the following script should completely remove the hidden slider from the pagem and hopefully allow the waypoint script to correctly calculate the position of the images.

    // remove hidden ls
    function ava_script_events_container() {
        if ( wp_script_is( 'avia-default', 'registered' ) ) {
            wp_add_inline_script( 'avia-default', "(function($) {
    			$(document).ready(function() {
    				$('.ls-forcehide').remove();
    			});
    })(jQuery);" );
        }
     }
     add_action( 'wp_enqueue_scripts', 'ava_script_events_container', 9999);

    Please add it in the functions.php file.

    Best regards,
    Ismael

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