-
AuthorPosts
-
November 17, 2020 at 8:42 pm #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- This topic was modified 4 years, 1 month ago by moisturewordpress.
November 19, 2020 at 4:19 am #1261435Hi 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,
RikardNovember 19, 2020 at 8:53 am #1261478This reply has been marked as private.November 22, 2020 at 6:53 pm #1262139Hi Rikard,
How are you doing with my problem?br Carsten
November 25, 2020 at 4:33 am #1262887Hi,
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,
IsmaelNovember 25, 2020 at 9:13 am #1262944Hi 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
November 26, 2020 at 8:05 am #1263200Hi,
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,
IsmaelNovember 26, 2020 at 9:03 am #1263206Hi Ismael,
Well that didn’t seem to work. Could you try to fix it? You have the login.November 27, 2020 at 5:41 am #1263450Hi,
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,
IsmaelNovember 27, 2020 at 9:04 pm #1263589Hi 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.
CarstenNovember 30, 2020 at 4:11 am #1263859Hi,
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,
IsmaelNovember 30, 2020 at 10:39 pm #1264067Hi 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 magicbr
CarstenDecember 3, 2020 at 1:21 pm #1264756Hi,
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 -
AuthorPosts
- You must be logged in to reply to this topic.