Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter soap2g

    (@soap2g)

    Hi!
    @misasaaa I found a temporary solution that overrides the plugin. Add in functions.php this code:

    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
    });

    After 1500ms the animation will fade out. You can vary the time by changing that 1500 at the end of the script.
    Hope it’s useful,

    cheers

Viewing 1 replies (of 1 total)