Hello there,
I checked your site is properly displaying the preloader. To set a custom delay time before it disappears, try doing the below steps:
1. Add this CSS code to Appearance > Customize > Additional CSS from dashboard.
.preloader.preloader-hidden {
display: block !important;
opacity: 1 !important;
}
2. Install and activate the TC Custom JavaScript plugin
3. Go To Appearance > Custom JavaScript
4. Paste the following code into the provided box
(function($){
var preloader = $('.preloader');
setTimeout(function(){
preloader.remove();
}, 2000);
})(jQuery);
2000 equals to 2 seconds.
5. Update
Regards,
Kharis
Hi Kharis Sulistiyono and thank you so much for your answer.
The main issue I was experiencing was caused by the lazy load of my images by Autoptimize plugin. In fact I was using the same CSS code you posted and tryied to add the delay by CSS3 to avoid jQuery. Eliminating the lazy load fixed the issue, but now I have to improve my loading speed, because on mobile I only have 49% at google page speed insights.
By the way thank oyu so much for your solution, that would work perfectly!
Ab
-
This reply was modified 6 years, 9 months ago by
andreaborin.
You’re welcome!
Please let us know in a new topic if you have any further questions, or if we can provide you with any other assistance.
Regards,
Kharis
aThemes Support
@andreaborin maybe try adding Logo-AB-grey.png to the lazyload exclusion list?
hope this helps,
frank (ao dev)