Good preloader!
-
Once I added the code below to my functions.php file and adjusted the timing it works great. I also like the included loading image #1 better than other preloaders.
add_action('wp_footer', function(){ ?> <script> (function($){ $(function () { setTimeout(function() { jQuery('body .smart-page-loader').fadeOut(500, function() { jQuery('body .smart-page-loader').css('opacity', 0); }); }, 1500); }); })(jQuery); </script> <?php });
- The topic ‘Good preloader!’ is closed to new replies.