Visual Composer - tabs cause the page to scroll

I’m having trouble when using tabs in Pro. Any time I click on one of the tabs, it is scrolling the page down

I’ve found a couple of posts on this forum that gives some JS code, but these don’t make any difference when adding the code to global JS.

I can’t give you access, as I’m creating the site on Mamp.

Thanks.

Hi there,

Ensure everything is up to date according to our version compatibility list here. Please follow the best practices when updating your theme and plugins. Click here for more information.

Then please kindly add the Javascript code below to X > Launch > Options > JS:

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');
	});

});

If you still have the problem regarding the Visual Composer Tab scrolling, you will need to upload your website to a live server and give us the information to be able to see the live code.

Thank you.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.