I have this preloader code for my website. It uses jQuery 1.8.3, which I know is quite old, but it's what worked for me.
The thing is that since I installed my SSL certificate on my website, the preloader doesn't go away.
This is the code:
jQuery(document).ready(function ($) {
$(window).load(function () {
setTimeout(function(){
$('#preloader').fadeOut(150, function () {
});
},1500);
});
});
It is made to have a wait, and then hide the preloader.
Thanks in advance!