Tagged: lazy loading, mobile, revolution slider
-
AuthorPosts
-
May 31, 2022 at 12:22 am #1353513
Hi,
I’m fairly sure (not not positive) this is a something to do with the Enfold theme as I’ve turned off Lazy Loading on Revolution Slider 6.
The issue is that I have Revolution Slider loading at the top of the pages so should load immediately, but on mobile pages they are not loading unless I touch the screen/scroll in the slightest amount. It’s acting like Lazy Loading even though I tried with it turned off on both Revolution Slider and in the Performance tab of Enfold theme.
Everything loads fine in the desktop version, it’s just the mobile version, can anyone help?
May 31, 2022 at 8:51 am #1353545Hey Paul,
Thank you for the inquiry.
Is the slider working correctly when you remove the full width submenu element above it? Looks like the slider doesn’t initialize properly on mobile view because of the space or placeholder created by the sticky submenu.
Best regards,
IsmaelMay 31, 2022 at 11:47 am #1353570Hey,
If you look now I’ve removed it and it’s still happening.
Thanks.
May 31, 2022 at 11:59 am #1353571Hi,
Just to let you know, I have also tried with the “Fullwidth easy slider” and it’s the same so I’m fairly sure the issue is not related to the Resolution Slider.
May 31, 2022 at 8:58 pm #1353623Hi,
Still waiting for a reply, but looking into this some more I’ve noticed it’s also not appearing on the desktop version either. It was only appearing when on page load when I logged in but as soon as I log out it doesn’t load on the desktop version either.
As well as this, it’s not appearing when I scroll but when you just either touch the page on the mobile or when the mouse hovers over any part of the page.
For example, if you refresh the page the slider doesn’t load, but as soon as you move the mouse from the browser bar to the website it loads instantly.
Thanks.
May 31, 2022 at 10:33 pm #1353630Hi again,
Okay, I’ve resolved it, it was WP-Rocket, fix here (needed to do both sections):
https://docs.wp-rocket.me/article/1634-using-revolution-slider-with-wp-rocketI do have another question though relating to the sub-menu with the categories…
Can you tell me how I can rename it from “Menu” in mobile mode to say “Categories”?
Also, I would like to left-align it when in mobile mode, but keep it centred in desktop mode?
Lastly, can I change it to switch to mobile mode at 885px rather than what it lets me set it to? (trying to maximise the proper menu until it starts wrapping to two lines at 885px wide).Thanks for your help.
- This reply was modified 2 years, 5 months ago by Paul.
June 1, 2022 at 2:13 pm #1353753Hi,
Glad to know that you have managed to fix the issue with the slider. Regarding the full width submenu, please try to add this script in the functions.php file.
// additional custom scripts function ava_custom_script_mod() { ?> <script> (function($) { // replace fullwidth sub menu placeholder text $(".av-current-placeholder").text("Categories"); })(jQuery); </script> <?php } add_action('wp_footer', 'ava_custom_script_mod');
If you have any additional questions at this time we kindly ask that you open them up in a separate thread. The longer threads get in the forum, they become more difficult to support as they tend to drift off topic and they also make it troublesome for users trying to search for solutions. Keeping threads relevant to their original inquiry ensures that we can keep better track of what has been resolved and that users can more effectively find answers to similar issues they might be experiencing.
Thanks!
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.