Home Forums Travel WordPress Theme disable homescreen slider for mobile

This topic contains 2 replies, has 2 voices, and was last updated by  jude 4 years ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #275

    jude
    Participant

    is there anyway to disable the homescreen background 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
    			});
    		}
    	});
    }
    #279

    jude
    Participant

    thanks – overnight i came up with another soltuion which is to change the speed at which the background images change – a slower speed would kinda work better for mobile and not make it look hectic – have looked and cant find where the display for how long time is located. sorry to be such a pain and keep asking stuff

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.