Getting tabs to look right in the XS breakpoint is a pain in the booty. Right now, the tabs get stacked atop each other, yet the content sits below the lowest tab, which looks stupid. In other words, the topmost tab is detached from its content, which just doesn’t look right.
The example website below is a great solution. Open it in your browser, then reduce the browser window width to simulate the XS breakpoint. Note how the content ALWAYS sits directly below its associated tab, which is the right way to do tabs in XS.
How do I accomplish this with Blocs’ Tabbed Content? Surely there must be a way. If impossible, then how are the rest of you dealing with those stacked tabs in XS?
I understand how styling works now, thank you. I will work on that.
Please forgive me but I have 2 final questions to make this discussion complete:
How do I get the topmost Tab’s content to be displayed by default? (Right now, the buttons display, but all content is hidden.)
How can I make all content become hidden except for the currently selected Tab? (For example, if I click the top Tab now, it’s content displays, but if I then click the second Tab, it’s content displays and the first Tab’s content continues to display. I want to auto-hide that first Tab’s content when another tab is clicked.)