How to remove the preloader?


If you want to remove just the animation but still wait for page to load before hiding the curtain, please follow these steps.

1. Open your HTML file.

2. Search for the 'preloader-block' element.

3. Remove / comment everything that's inside this block, like shown in the screenshot.

 

If you want to remove the preloader completely and make the page load as usually, please follow these steps:

1. Open your HTML file.

2. Go to the end of the file and change the 'data-main' attribute on the script tag from 'js/index.min' to 'js/index' like shown in the screenshot.

3. Open the 'js/modules/preloader.js' file.

4. Search for the 'Component.hidePreloader()' call and move it outside of the 'domReady' function, like shown in the screenshot.

5. Add somewhere in your CSS file these lines of code:

.preloader-block{
	display: none !important;
}

 

 

Tags: hide, odiss, preloader

Last update:
2015-11-25 19:00
Author:
Vlad Sargu
Revision:
1.1
Average rating:0 (0 Votes)