I would like to add the preload to a div, the preload must load for 2 seconds before viewing the contents of the div. If your default preload is not possible, what can I use to display a preload before displaying the content?
Add Preload gif to div
1 reply · opened Jan 30, 2019
AalecorsiJan 30, 2019
SSemicolon WebSTAFFJan 31, 2019
Hello,
You can simply add your Preloader DIV codes to your Container and then use the following JS code to hide the Preloader DIV after 2 Seconds:
jQuery(window).on( 'load', function(){
setTimeout( function(){
jQuery('#preloader-div').fadeOut();
}, 2000);
});
This should definitely work fine. Hope this Helps!
Additionally, currently Customization Services are not included in the Support Policy: https://themeforest.net/page/item_support_policy .
Let us know if we can help you with anything else or if you find any further issues.
Have the same question, or something new?
Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.
Reply on the dashboard