This topic has 11 replies, 4 voices, and was last updated 9 months, 2 weeks ago ago by Andrew Mitchell
So I’m using Slides (Beta) to create a new slider adn I’m using also litespeed Cache and because of the JS settings. the slider is not showing till the first intraction with the website. So I’m trying to exclude the sliders I created from been delayed but I don’t know how to do it or what class I should use to exlude it.
Please if you have any idea. help me with this thank.
Hello, @chilly,
Thank you so much for purchasing our theme and contacting our support center.
We are writing to inform you that we require further clarification regarding your recent request. To assist you most effectively, we kindly ask that you provide a detailed description of the problem you are encountering, as well as your specific objectives or desired outcomes.
For a more thorough examination of your settings, we would appreciate it if you could securely provide your WordPress administrative login credentials in the designated private content area.
We kindly recommend that you take a complete backup of your site before proceeding.
Additionally, to enhance our understanding of the issue, please attach a screenshot with the problem area highlighted, and include the URL of the page where the issue is occurring.
Your cooperation in this matter is greatly appreciated, and we look forward to resolving your concerns promptly.
Warm regards,
The 8Theme Support Team
I do think that I explained everything in a clear way.
But I will explain again I just hope if you can’t help me to tell me directly and I will take care of the problem myself.
I’m using LiteSpeed Cache -> its a cache plugin, and I enabled the javascript settings in LiteSpeed Cache, and because of that I had a problem with the Slider – Xstore Slider or Slides(Beta) [chcek image 1], So when The home page is loaded candyhype.com the slider is not showing because of LiteSpeed Cache java script settings[check image 2], Now what I want to ask is how do I exclude the slider from been delayed from the js settings of litespeed cache [check image 3] I need the class that I could use to exclude the slider.
I hope I explain clearly this time. As for creating an account I do not think you need it as I provided you with everything you need.
Thanks.
Dear @chilly,
We kindly request that you review the JavaScript files listed below:
– /xstore/js/modules/swiper.min.js
– /xstore/js/etheme-scripts.min.js
– /xstore/js/modules/ethemeElementorSlider.min.js
We trust this will be of assistance to you.
Best regards,
The 8Theme Team
I did excluded the files but it’s still apears to be lazy loaded. untill I move the mouse or I hover over the slider. [image 1]
I think it might be some other file.
I created an account for you in case you wanna check yourself
Dear @chilly,
We would like to inform you that there is a filter available to deactivate the lazyload feature for elements. However, please be aware that implementing this filter will entirely disable the lazyload functionality across all elements:
add_filter('etheme_ajaxify_lazyload_widget', '__return_false');
Furthermore, with reference to LiteSpeed Cache, the scripts mentioned in our previous correspondence pertain exclusively to the XStore Slider element.
Should you require any further assistance, please do not hesitate to reach out.
Best regards,
The 8Theme Team
I checked but its not disabled. its still lazyloaded.
Right now I’m going to change the slider to an elemntor element so that we will not have this problem. While you give me an answer.
Thnak you.
Dear @chilly,
We hope this message finds you well.
We kindly request that you insert the following code snippets into the functions.php file located within your child theme:
add_filter('etheme_ajaxify_elementor_widget', '__return_false');
add_filter('etheme_ajaxify_lazyload_widget', '__return_false');
add_filter('etheme_ajaxify_script', '__return_false');
Subsequently, please add the custom CSS provided below by navigating to Theme Options > Theme Custom CSS > Global CSS in your website’s admin panel:
body.elementor-default:not([data-elementor-device-mode]) [class*=elementor-widget-et-]>.elementor-widget-container,
body.elementor-default:not([data-elementor-device-mode]) [class*=elementor-widget-etheme]>.elementor-widget-container,
body.elementor-default:not([data-elementor-device-mode]) [class*=elementor-widget-woocommerce-etheme]>.elementor-widget-container,
body.elementor-default:not([data-elementor-device-mode]) [class*=elementor-widget-woocommerce-product-etheme]>.elementor-widget-container,
body.elementor-page:not([data-elementor-device-mode]) [class*=elementor-widget-et-]>.elementor-widget-container,
body.elementor-page:not([data-elementor-device-mode]) [class*=elementor-widget-etheme]>.elementor-widget-container,
body.elementor-page:not([data-elementor-device-mode]) [class*=elementor-widget-woocommerce-etheme]>.elementor-widget-container,
body.elementor-page:not([data-elementor-device-mode]) [class*=elementor-widget-woocommerce-product-etheme]>.elementor-widget-container {
opacity: 1;
visibility: visible;
}
body.elementor-default:not([data-elementor-device-mode]) [class*=elementor-widget-et-]:before,
body.elementor-default:not([data-elementor-device-mode]) [class*=elementor-widget-etheme]:before,
body.elementor-page:not([data-elementor-device-mode]) [class*=elementor-widget-et-]:before,
body.elementor-page:not([data-elementor-device-mode]) [class*=elementor-widget-etheme]:before {
display: none;
}
We trust that these adjustments will be beneficial. Should you require any further assistance, please do not hesitate to contact us.
Best Regards,
The 8Theme Team
It worked but it disabled Ajax Lazy laoding functionality.
Is there a way to disable it only for the slider. I only need the slider to not be lazy loaded. Thats my question from the first place.
Thank you in advance.
Dear @chilly,
We regret to inform you that currently, there is no feature available to selectively disable the lazy load functionality for sliders. Nonetheless, we invite you to propose the creation of such an API by submitting a request on our task board at the following link: https://www.8theme.com/taskboard/. This interactive platform enables our clients to support your suggestion by voting, which may accelerate the consideration of its development.
Warm regards,
The 8Theme Team
Dear chilly,
In the spirit of gratitude, we want to express our appreciation for your trust in our products. As a valued customer, your experience matters greatly. Would you consider sharing it by giving our theme a deserving 5-star rating on ThemeForest?
Click here to share your thoughts: https://themeforest.net/downloads
Being part of our community means a lot, and your feedback contributes immensely.
Best Regards,
The 8Theme Team
The issue related to '‘I have a Problem in Xstore Slides (Beta)’' has been successfully resolved, and the topic is now closed for further responses