Smooth scrolling offset


Description: 

Override smooth scrolling settings
You can change the smooth scrolling settings by adding the following JavaScript to your theme, then customize the values as you want them.




Kind:

jQuery, Beaver


Javascript:

jQuery( function(){
    if ( 'undefined' != typeof FLBuilderLayoutConfig ) {    
        FLBuilderLayoutConfig.anchorLinkAnimations.duration = 1000;
        FLBuilderLayoutConfig.anchorLinkAnimations.easing = 'swing';
        FLBuilderLayoutConfig.anchorLinkAnimations.offset = 100;
    }
} );


URL: