- Web templates
- E-commerce Templates
- CMS & Blog Templates
- Facebook Templates
- Website Builders
PrestaShop 1.6.x. How to disable pre-loader (based on template #55281)
January 7, 2016
This tutorial describes how to disable the pre-loader (based on Prestashop template #55281).
PrestaShop 1.6.x. How to disable pre-loader (based on template #55281)
In order to disable the pre-loader, you should delete or comment out the following pieces of code:
-
In header.tpl file which can be found under themes/themeXXXX/ directory, delete or comment out the code on lines 65-75 and save the changes:
In global.js file which can be found under themes/themeXXXX/js/ directory, delete or comment out the code on lines 441-448 and save the changes:
$(window).on('load', function () { var $preloader = $('#page-preloader'), $spinner = $preloader.find('.spinner'); $spinner.css('opacity','1'); $spinner.delay(3400).fadeOut('slow'); $preloader.delay(3500).fadeOut('slow'); });
Feel free to check the detailed video tutorial below:
PrestaShop 1.6.x. How to disable pre-loader (based on template #55281)