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?
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
That changes the zoom level of the image
ie
0.5 to 0.9 zooms in
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