Hide other tab menus in mobile
Is there a way to hide the highlighted tabs in mobile? I tried adding this ->extraAttributes('class' => 'hidden-tabs') to avoid messing up the other tabs but the problem is, I think the hidden-tabs class is being added to the tabs content not the tabs button so I can't select it with the added class and display it none.

3 Replies
up
How about
with some condition, have you tried it?
I assume you just want to hide the menus, so just add a css class like 'custom-hidden-tabs' and then target it and display none of the non-active tab.