Skip Navigation

[Resolved] Bootstrap Tabs don't respond

This support ticket is created 6 years, 3 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Our next available supporter will start replying to tickets in about 7.52 hours from now. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 5 replies, has 2 voices.

Last updated by CraigT4149 6 years, 3 months ago.

Assisted by: Luo Yang.

Author
Posts
#1078691

I am trying to:
Simply use bootstrap tabs in which I store in each tab a filter criteria to update a view below.

Link to a page where the issue can be seen:
hidden link

Referring to this old thread, I copied Beda's default Bootstrap HTML Markup for tabs and it doesn't seem to work: https://toolset.com/forums/topic/bootstrap-tabs-problem/

I have Bootstrap enabled because I'm able to create grids, etc.

Thanks

#1078694

Interesting development: when the page first loads, the tabs do not work.

Once I select a filter element and the results change, the tabs now work ...

#1079472

Hello,

Thanks for the details, I can see the problem in your website, please try these:
1) In case it is a compatibility problem, please deactivate other plugins, and switch to wordpress default theme 2017, and test again

2) If the problem still persists, please provide database dump file(ZIP file) of your website, also point out the problem page URL and view URL, I need to test and debug it in my localhost, thanks
https://toolset.com/faq/provide-supporters-copy-site/

#1081028

Thanks for the details, I am downloading the file, will update here if there is anything found

#1081069

Please try these:
1) Edit the view "Filterable Product Search", in section "Search and Pagination", change this line from:

<div class="container">

To:

<div class="container" id="myTabs">

It will add a HTML ID to the div tag

2) click "JS editor", add below codes:

jQuery('#myTabs a').click(function (e) {
  e.preventDefault()
  $(this).tab('show')
})

It will setup that div tag as a jQuery tab, see the codes in the document:
hidden link

Save and test again

#1081382

Thank you, that did it.