When loading a page, it loads too fast for the user to see the GIF I have set as the page loader… Is there any wy I can set a fixed duration for the page loader to show my whole gif before letting the user see the page.
Thanks
Hi nvenios!
Thank you for using Enfold.
This is possible but you have to modify one of the parent theme files. Edit the js > avia.js and look for the “avia_site_preloader” function. Increase the value of the setTimeout function on line 355.
}, 500);
Play around with the value.
Regards,
Ismael
Thanks @Ismael worked perfectly!
Is there a way to make the GIF always animate. For me it only animates the first time I refresh.
Thanks.
Hi!
Could you please provide a link to the page? We would like to inspect it.
Best regards,
Ismael
Hi at all,
this is a very old topic and I couldn’t found this within the code.
How can I extend the preloader-duration? At the moment it is 1-2sec.
Would like to have it for 3-4sec standing.
Any idea how this can work?
Thanks for your help in advance.
All the best,
Sven
Hi Sven,
The avia_site_preloader function is in the file /enfold/js/avia-snippet-site-preloader.js and so you can change the value there.
Best regards,
Victoria
Hi,
You can use this css code to remove the spinning loader.
.av-siteloader-extra {
display: none !important;
}
And you can open another thread here.
// https://kriesi.at/support/forum/enfold/#new-post
Best regards,
Ismael