Hello,
I had problems with tab animation on one of our sites 2 years ago and the following JS code had worked. However, for some time it has not worked.
The article that gave me the solution: Visual Composer Tabs Animation
Here is the site page : https://www.location-mazets-provence.com/
Thanks in advance
My configuration:
- Wordpress 5.4
- Theme X Version: 7.2.3 (With child-theme)
- Visual composer Version 6.1
Javascript solution used:
jQuery( function($) {
$('.vc_tta-tab a').on('click', function( e ){
setTimeout( function() {
$('html, body').stop().stop();
}, 100 );
});
$(document).ready(function() {
$('.vc_tta.vc_general .vc_tta-panel-title > a, .vc_tta.vc_general .vc_tta-panel-title > a, .vc_tta-tab a').off('click touchstart touchend');
});
});