Okay
  Public Ticket #884932
Pre loader
Closed

Comments

  •  1
    Tony started the conversation

    Hi we would like to remove the pre loader from the Storm theme please let us know how to do that.

    Thanks, Mark

  •  850
    Jelly replied

    Hi,

    Please follow steps below:

    + Go to theme folder\inc\functions.frontend.php
    + Go to line 52 -> line 55, then replace the current code with the code below:

               /* wp_enqueue_script(
                    'pathLoader',
                    get_template_directory_uri() . '/js/pathLoader.js',
                    array('jquery'),false,true ); */

    + Comment this line double slash (//) infront of the line.
    + Add css code in the path: Appearance -> Editor -> Style.css, please copy it in the end of the file: .ip-header {display: none !important;}
    + Save change and check your website

    Best Regards,
    Jelly Team

  •  2
    Michelle replied

    Hi

    This doesn't work for me.  If I comment out lines 52-55 and then add the css rule to hide the ip-header, I get an error - Uncaught ReferenceError: PathLoader is not defined - ln 587 in default.js.  If I comment out that line, the site no longer scrolls, ie it just doesn't work.

    Can you help please.

    Thanks

    Michelle

  •  850
    Jelly replied

    Hi,

    The site still work even default.js is alert an error. I will check it with my developer and get back for you soon.

    Best Regards,
    Jelly Team