Open d-wren opened 7 years ago
This is the structure used on the demo page, http://jointswp.com/demo/ and works in my jointswp sass version.
<h2>Tabs</h2>
<ul id="example-tabs" class="tabs" data-tabs="">
<li class="tabs-title is-active"><a href="#panel1">Tab 1</a></li>
<li class="tabs-title"><a href="#panel2">Tab 2</a></li>
</ul>
<div class="tabs-content" data-tabs-content="example-tabs">
<div id="panel1" class="tabs-panel is-active">
<p>Some content.</p>
</div>
<div id="panel2" class="tabs-panel">
<p>Other tab</p>
</div>
</div>
I used foundation tabs in my JointsWP theme and they just don't work. The tab content stays on the first one and won't switch.
I just copied the basic code from Zurb's docs.