Hi,
I am using the livemesh tab plugin and it doesn’t seem to switch to the other tab. I contacted the plugin developer and told me it was a conflict with the theme and to check with the theme developer. I just wanted to make sure the instructions they gave me to fix the issue are correct before I go changing any files.
The page I am working on is: http://agft.flywheelsites.com/request-information/
Here are the instructions Livemesh gave me:
Looks like your theme is intercepting all click events and hence the event is not being passed out to other plugins. Pls let the theme developer know about or you can edit the file to remove this. The filename is js/main.min.js and you need to remove the line which starts something like this – t(‘a[href*=”#”]:not([href=”#”],.wc-tabs a,.activity-content a)’).click(function().
You can see that the click events on another tab are making the page scroll as per the code here –
t('a[href*="#"]:not([href="#"],.wc-tabs a,.activity-content a)').click(function() {
if (location.pathname.replace(/^\//, "") == this.pathname.replace(/^\//, "") && location.hostname == this.hostname) {
var e = t(this.hash);
if (e = e.length ? e : t("[name=" + this.hash.slice(1) + "]"),
e.length)
return t("html,body").animate({
scrollTop: e.offset().top - 70
}, 1e3),
!1
}
})
Thank you for your help.
Kelsey