Visual Composer Tabs not work on mobile

jQuery( function($) {
jQuery('.vc_tta-tab a').on('click', function( e ){
setTimeout( function() { 
jQuery('html, body').stop().stop();
console.log('scrolling stopped');
}, 100 );
});
jQuery(document).ready(function() {
    jQuery('.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');
});
});

Hello, I searched before posting here. I used this code but it has not worked

this is my web: https://grupoitra.com/prueba-mercedes-clase-a/

I hope you can help me.
Thank you

Hi There,

Please update the custom code to this:

jQuery( function($) {
	$('.vc_tta-tab a, .ult_tab_li a').on('click touchend', function( e ){
		setTimeout( function() { 
			$('html, body').stop().stop();
		}, 100 );
	});
	$(document).ready(function() {
		$('.ult_tab_li a, .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');
	});
});

Let us know how it goes!

I’m sorry this code has not worked for me

Hi There,

Upon checking your website, I could see that the X theme & Cornerstone plugin are outdated.

Please update them to the latest version.

Here is the update guide:

The changelog: https://theme.co/changelog/

Let us know how it goes!

if I update the theme my web breaks

Hi,

May I know what breaks when you update your site. If you are using visual coposer, don’t forget to enable Legacy X integration under VC > General Settings

I suggest you create a staging site(exact copy of your site in a different location). Then test the update there.

You can use this third party plugin in creating one

Thanks

this is the result of the update

before

after

it still does not work

I have tried with jQuery code and i have enable “Legacy X Integration”

Hi Girsanet,

Could you try updating your theme and cornerstone first? I checked and they aren’t updated then we’ll check it again. Or have you restored it? In that case, please clone your site into a staging where we can check it with updated theme and plugins. Please check this https://theme.co/apex/forum/t/slider-revolution-error-message/48874 and follow the procedure for site’s cloning/staging.

These are the versions I’m currently seeing.

Thanks!

I created a copy

https://desarrollo.grupoitra.com/prueba-mercedes-clase-a/

but it is not visible

Hi,

We could not seem to access the link provided.

Please check and let us know.

Thanks

https://desarrollo.grupoitra.girsanet.com/

this

Hi Girsanet,

Please also disable other visual composer addons, I see multiple errors. And it’s weird, I turned off javascript events and it still scrolling (events where scrolling is attached). So it could be coming from different area.

And please provide your admin log in credentials in a secure note for further checking.

Thanks!

Hey @milagroscruzado,

I wanted to check the behavior of your tabs in the default WordPress theme so I tried to install the 2019 theme in your staging site and it caused an error.

Please also contact the Ultimate Addons support so they could see that their element does not work in X and so maybe that can also provide a solution.

Generally, it is not good to use an element which has its own link scroll animation because X applies a smooth scroll effect for all links and though there is a way to stop the animation of your element by using custom Javascript, that might interrupt its functionality.

Thanks.

I have restored the web in case you need to do more tests

meanwhile I will contact the support service of Ultimate Addons

I’m sorry but the 500 error is still happening. Would you mind activating the 2019 theme and check if the issue persists? Also deactivate all third party plugins to ensure there’s not conflict.

Thanks.

impossible to activate the parent theme. The web was made noobs people and my company does not want to do it again.

If you can not do anything else for me. I get it

Thank you

I’m sorry to hear that, Milagros. We are caught up in between different systems in this case so we need to know if other third party factor is causing the issue.

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