Tab Problem

Hello!

I am having an issue where myTabs in my pages look fine while in the VC frontend editor, but are doing something weird script wise on the live version of the page. When you click on the Tab it will jump to the bottom of the page.

Here is the url

Can you think of anything that would fix this?

Thanks

Hi There,

Thanks for writing in! I have checked the page and there is a JS error. You may have inserted a broken JS or invalid JS script in your page. Please make sure that you are using the correct JS code to avoid any issues. And it seems that you have installed a caching or minify plugin like Autoptimize, please clear or delete the cache after making necessary JS changes.

If nothing is working, please provide us access to your site so that we can take a closer look.

Please let us know how it goes.

Hello!

I can’t seem to find the JS error that you are speaking about. I will add my creds below. Thanks in advance.

Hello @ASTI

Regarding the tab issue, we have this issue logged to our issues tracker and it should be fixed in one of the upcoming releases, however, I don’t have an ETA for this update.

Meanwhile, you can add this JS snippet to (Theme Options > JS) and this will fix it temporarily:

jQuery(function($){
	$('.vc_tta-tabs-list li a').on('click', function(){ 
		setTimeout( function() {
			$('html, body').stop();
		}, 100 );
	});
});

For the other JS issue, I suggest removing any other custom JS codes you added and recheck the browser console, also you might disable your plugins one by one till you find the culprit.

Thanks.

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