Betiok
6/19/2017 - 2:30 PM

Preloader

Preloader

.preloader {
	background: none no-repeat scroll center bottom #474747;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 9999;
	width: 100%;
	height: 100%;
	padding: 20px;
}

.preloader img {
	position: absolute;
	top: 50%;
	left: 50%;
	margin: -69px 0 0 -185px;
}
/* Preloader */

$('.preloader').delay(1000).fadeOut("slow");

setTimeout(remove_preloader, 2000);

function remove_preloader() {
	$('.preloader').remove();
}
<div class="preloader">
	<img src="<?php echo get_template_directory_uri(); ?>/img/logo-large.png" alt="Downsview Kitchens">
</div>