{"id":59080,"date":"2016-01-07T08:45:30","date_gmt":"2016-01-07T13:45:30","guid":{"rendered":"http:\/\/www.templatemonster.com\/help\/?p=59080"},"modified":"2016-02-18T03:46:13","modified_gmt":"2016-02-18T08:46:13","slug":"prestashop-1-6-x-how-to-disable-pre-loader-based-on-template-55281","status":"publish","type":"post","link":"https:\/\/www.templatemonster.com\/help\/prestashop-1-6-x-how-to-disable-pre-loader-based-on-template-55281.html","title":{"rendered":"PrestaShop 1.6.x. How to disable pre-loader (based on template #55281)"},"content":{"rendered":"<p>\r\n<p>This tutorial describes how to disable the pre-loader (based on Prestashop template #55281).<\/p>\r\n<p><a href=\"http:\/\/www.youtube.com\/watch?v=6F8HE7IQC4U?width=1280&amp;height=720\" rel=\"prettyPhoto\">PrestaShop 1.6.x. How to disable pre-loader (based on template #55281)<\/a><\/p>\r\n<p>In order to disable the pre-loader, you should delete or comment out the following pieces of code:<\/p>\r\n<ol>\r\n<li>\r\n<p>In <strong>header.tpl<\/strong> file which can be found under <strong>themes\/themeXXXX\/<\/strong> directory, delete or comment out the code on lines 65-75 and save the changes:<\/p>\r\n<pre class=\"brush:html\">\r\n&#60;div id=\"page-preloader\"&#62;\t\t\r\n  &#60;div id=\"floatingCirclesG\"&#62;\r\n    &#60;div class=\"f_circleG\" id=\"frotateG_01\"&#62;&#60;\/div&#62;\r\n    &#60;div class=\"f_circleG\" id=\"frotateG_02\"&#62;&#60;\/div&#62;\r\n    &#60;div class=\"f_circleG\" id=\"frotateG_03\"&#62;&#60;\/div&#62;\r\n    &#60;div class=\"f_circleG\" id=\"frotateG_04\"&#62;&#60;\/div&#62;\r\n    &#60;div class=\"f_circleG\" id=\"frotateG_05\"&#62;&#60;\/div&#62;\r\n    &#60;div class=\"f_circleG\" id=\"frotateG_06\"&#62;&#60;\/div&#62;\r\n    &#60;div class=\"f_circleG\" id=\"frotateG_07\"&#62;&#60;\/div&#62;\r\n    &#60;div class=\"f_circleG\" id=\"frotateG_08\"&#62;&#60;\/div&#62;\r\n&#60;\/div&#62;\r\n<\/pre>\r\n<\/li>\r\n<li>\r\n<p>In <strong>global.js<\/strong> file which can be found under <strong>themes\/themeXXXX\/js\/<\/strong> directory, delete or comment out the code on lines 441-448 and save the changes:<\/p>\r\n<pre class=\"brush:js\">\r\n$(window).on('load', function () {\r\n    var $preloader = $('#page-preloader'),\r\n    $spinner   = $preloader.find('.spinner');\r\n    $spinner.css('opacity','1');\r\n    $spinner.delay(3400).fadeOut('slow');\r\n    $preloader.delay(3500).fadeOut('slow');\r\n});\r\n<\/pre>\r\n<\/li>\r\n<\/ol>\r\n<p>Feel free to check the detailed video tutorial below:<\/p>\r\n<p><a href=\"http:\/\/www.youtube.com\/watch?v=6F8HE7IQC4U?width=1280&amp;height=720\" rel=\"prettyPhoto\">PrestaShop 1.6.x. How to disable pre-loader (based on template #55281)<\/a><\/p>\r\n<\/p>\r\n<p><\/p>","protected":false},"excerpt":{"rendered":"<p>This tutorial describes how to disable the pre-loader (based on Prestashop template #55281).<\/p>\n","protected":false},"author":94,"featured_media":59081,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[732],"tags":[1537,2003,552],"_links":{"self":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/59080"}],"collection":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/users\/94"}],"replies":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/comments?post=59080"}],"version-history":[{"count":0,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/59080\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media\/59081"}],"wp:attachment":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media?parent=59080"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/categories?post=59080"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/tags?post=59080"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}