Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
I'm having problems with vertical tabs - I'm using 3.x-dev, Bootstrap 3.3.5 (sass) and JQuery 1.10.
I think this can be solved with some adjustments to the classes used in the _vertical-tab.js. I've switched to nav-pills and added col-* classes for a bit of responsiveness.
See attached patch and screenshots.
Comment | File | Size | Author |
---|---|---|---|
Bootstrap veritcal tabs fixed.png | 42.1 KB | Angry Dan | |
Bootstrap veritcal tabs broken.png | 41.33 KB | Angry Dan | |
vertical-tabs.patch | 740 bytes | Angry Dan | |
Comments
Comment #2
markhalliwellThat is because you need the vertical tab styling: http://cgit.drupalcode.org/bootstrap/tree/starterkits/less/less/override...
Someone already converted the overrides to SASS in #2102895-20: Add SASS starterkit, but I'm not entirely sure how up to date that is.
Regardless, we're not going to change these to pills.
Comment #3
Angry Dan CreditAttribution: Angry Dan at Deeson commentedThanks for the quick response Mark, that's brilliant.
Was that in the documentation somewhere? I didn't spot it. If not, then perhaps it could be added?
Comment #4
Angry Dan CreditAttribution: Angry Dan at Deeson commentedOh wait. Sorry - ignore that last comment, now I really get it.