Home Forums Travel WordPress Theme disable homescreen slider for mobile Reply To: disable homescreen slider for mobile

#278

BWSM
Keymaster

Please try to change 632-643 of js/main.js as:

if(jQuery("#galleria").length > 0) {
	jQuery(window).resize(function(){
		if( jQuery(window).width() > 767 ) {
			jQuery("#galleria").galleria({
				 autoplay: 6000,
				 transition: "fade",
				 showInfo: false,
				 showCounter: false,
				 imageCrop: true,
				 showImagenav: false,
				 responsive: true,
				 thumbnails: false
			});
		}
	});
}