Hi,
Pleae go to Admin > Theme Options > Custom CSS/JS > Custom JS > Paste given below code:-
<script>
jQuery('a.linked-icon').on('click', function(e) {
var linkHref = jQuery(this).attr('href');
if (linkHref.indexOf('#') === 0) {
var spacerHeight = jQuery(linkHref).height(),
headerHeight = 0;
if (jQuery('.sticky-header').length > 0) {
headerHeight = jQuery('.sticky-header').height();
}
if (jQuery('#wpadminbar').length > 0) {
headerHeight = headerHeight + 28;
}
jQuery('html, body').stop().animate({
scrollTop: jQuery(linkHref).offset().top + spacerHeight - headerHeight - 10
}, 1000, 'easeInOutExpo');
e.preventDefault();
} else {
return e;
}
});
</script>
Thanks
Mohammad