@tuanphan Hey Tuan, thanks for helping us all.
I have the preloader and I'd like to make it responsive on mobile. I've tried to add a media query but it doesn't do what I thought it would. This is the active code on my site. I am using Brine and it is in the Advanced panel of the Index Settings. I hope I can get your help, thanks!
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js"></script>
<div class="logoload"></div>
<style>
.logoload {
/* SET BACKGROUND COLOR */
background-color: #fff;
/* SET BACKGROUND SIZE */
background-size: 600px;
position: fixed;
left: 0px;
top: 0px;
width: 100%;
height: 100%;
z-index: 9999;
background-position: center;
background-repeat: no-repeat;
background-image: url("https://static1.squarespace.com/static/5fd687dc674bc6778f41a678/t/60275afab391045d0b964861/1613191930385/sigh+copy.gif");
}
</style>
<script type="text/javascript">
$(window).load(function() {
$(".logoload").delay(5000).fadeOut("slow");
})
</script>
<script>
$(window).load(function() {
$('body').css('overflow', 'hidden');
setTimeout( function() {
$('body').css('overflow', 'initial');
}, 5000);
});
</script>