• 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
    });
    • This topic was modified 8 months, 4 weeks ago by silvershine. Reason: code didn't appear correctly
  • The topic ‘Good preloader!’ is closed to new replies.