Hi,
thanks Mike for your scripts, the 2nd works good for me.
I added it only for mobile :
// scroll to tabs
function scroll_down_script_2(){
?>
<script>
if(window.outerWidth <= 990) {
(function($){
$(document).ready(function(){
$('a.av-section-tab-title').click(function () {
$('html, body').animate({
scrollTop: $('.av-tab-section-container').offset().top
}, 500);
});
});
})(jQuery);
}
</script>
<?php
}
add_action('wp_footer', 'scroll_down_script_2');