Home › Forums › Basel support forum › How to prevent "jump-load" when loading home page first time › Reply To: How to prevent "jump-load" when loading home page first time
February 7, 2018 at 2:04 pm
#38088
vinirossi
Participant
Could not resolve this with fixed height.
Used Revolution Slider API instead:
//Set .site-content invisible to make "jump invisible"
jQuery(document).ready(function($) {
//Hide jumping content above Slider
$(".site-content").css('visibility', 'hidden');
});
//Set .site-content visible on slider event "loaded"
revapi19.bind("revolution.slide.onloaded",function (e) {
console.log("slider loaded");
jQuery(".site-content").css('visibility', 'visible');
});