Get rid of all animations

Home Forums WordPress Theme Meminz – Landing Page WordPress Theme Get rid of all animations

Tagged: 

This topic contains 3 replies, has 2 voices, and was last updated by  dsky 1 year, 6 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #12318

    dsky
    Participant

    Support Expired

    Hi,

    I use this theme on sitesearch360.com and I would like to disable all animations that appear when I scroll down. What would be the easiest way to do that?

    Thank you and kind regards,
    David

    #12329

    CTHthemes
    Keymaster

    Hi, just delete ( or comment out ) this code from \wp-content/themes/meminz/js/custom.js file:

    http://prntscr.com/e0fa53

    
    var a = {
        Android: function() {
            return navigator.userAgent.match(/Android/i);
        },
        BlackBerry: function() {
            return navigator.userAgent.match(/BlackBerry/i);
        },
        iOS: function() {
            return navigator.userAgent.match(/iPhone|iPad|iPod/i);
        },
        Opera: function() {
            return navigator.userAgent.match(/Opera Mini/i);
        },
        Windows: function() {
            return navigator.userAgent.match(/IEMobile/i);
        },
        any: function() {
            return a.Android() || a.BlackBerry() || a.iOS() || a.Opera() || a.Windows();
        }
    };
    var trueMobile = a.any();
    if (null == trueMobile) {
        if(meminz_obj.disable_animation != '1'){
    		new WOW().init();
    	}
    }
    if (trueMobile) {
    	if(meminz_obj.disable_mobile_animation != '1'){
    		new WOW().init();
    	}
    }
    
    #12330

    CTHthemes
    Keymaster

    You are using older version so please delete this code: http://prntscr.com/e0faka

    #12360

    dsky
    Participant

    Support Expired

    Thank you! Worked perfectly 🙂

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

The topic ‘Get rid of all animations’ is closed to new replies.