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

    Where would I find the function that contains the fractional multiplier to modify the parallax scroll rate?

    From shortcodes.js:

    	$.AviaParallaxElement  =  function(options, element)
    	{
    	    this.$el  	  	= $( element ).addClass('active-parallax');
    	    this.$win	  	= $( window );
    	    this.$parent  	= this.$el.parent();
    	    this.property	= {};
    	    this.isMobile 	= $.avia_utilities.isMobile;
    	    this.ratio		= this.$el.data('avia-parallax-ratio') || 0.5;

    is it the 0.5 above?

    • This topic was modified 9 years, 11 months ago by aribann.
    #364747

    Hi aribann!

    Try adding this to the bottom of your functions.php file.

    add_filter( 'avf_parallax_speed', 'enfold_customization_change_speed' );
    function enfold_customization_change_speed( $speed ) {
         return 0.5;
    }

    Regards,
    Elliott

    #366485

    That changes the zoom level of the image
    ie
    0.5 to 0.9 zooms in

    #366812

    Hi!

    A zoomed in image appears to move quicker. It sounds like what your wanting is to use the “fixed” option instead of parallax.

    Regards,
    Elliott

    • This reply was modified 9 years, 11 months ago by Elliott.
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.