Thread Starter
mkauf8
(@mkauf8)
Thread Starter
mkauf8
(@mkauf8)
Hmm. Just checked the behavior again. I see that jquery does replace the active class only on the li-element but not on the a-element. So I moved the first tab active function in your class-tabs-widget.php from the a- element to li-element.
<li class="nav-item<?php echo empty( $item['active'] ) ? '' : ' active'; ?>">
instead of
<a class="nav-link<?php echo empty( $item['active'] ) ? '' : ' active'; ?>"
it works like a charm now 🙂
Have fun!
Thread Starter
mkauf8
(@mkauf8)
Hello. Thank you for your prompt answer. Console does not show any js-script errors. Ok, will try to rule out any plugin/theme conflicts to isolate the issue… Br.