Now the new page takes advantage of Bootstrap’s Grid system and Components. This means to add the sidebar “panels” as they are called in Bootstrap, I add dividers with the appropriate classes. Here's an example:
I also get components like the buttons, and larger “jumbotron” text at the top of the page. Of course it wouldn’t make sense if I was going to reuse those blocks across the site.
This is a better solution in my case since I’m only displaying those blocks once. You do need to apply the appropriate tool to the job.
With great power also comes responsibility.
This of course means I require site building skills, HTML/CSS experience, and a safe staging environment to test all my changes on.
The use case may be limited, but overall this works really well for the few one-off pages that we have on the site.
Watch the webinar Part 2 today, 1pm EST: for detailed step-by-step and demos with Dave. He'll show you how to integrate Bootstrap with Drupal.
- How to make a sub-theme with Bootstrap.
- Altering it to work with SASS (instead of the default LESS)
- Useful modules to make it easier to add Bootstrap classes