Integrating Bootstrap and Genesis
Step 1: Grab the compiled Bootstrap 2 includes
It's really just as simple as adding this block of code to your site header: [code] <!-- Latest compiled and minified CSS --> <!-- Optional theme --> <!-- Latest compiled and minified JavaScript --> <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script> [/code] Special thanks to the fine folks at MaxCDN for hosting the compiled versions of bootstrap!Step 2: You're done if you want to be
If your comfortable with basic HTML and CSS, which any modern marketer should be, then you're technically finished. You can go right ahead and start including your Bootstrap-ified code into posts and pages. Woot! If you're not 100% comfortable with that concept, then you should head over to Treehouse, CodeAcademy or CodeSchool and start sharpening those skills.Step 3: But wait, my users aren't comfortable with HTML/CSS
Point well taken. There are a few options for you smooth the transition for your writers and users to insert Bootstrap happiness into their workflow. Head over to wordpress.org and grab any one of the following fine Bootstrap 3 shortcode plugins: https://wordpress.org/plugins/bootstrap-shortcodes/ simple but does require some understanding of how Bootstrap works. https://wordpress.org/plugins/easy-bootstrap-shortcodes/ this one has a free and premium version. I can't vouch for the premium features.Done is better than perfect: wrapping it up
I was hacking around, updating things when I decided to give this a shot. There are some minor styling tweaks, which I am sure could be resolved given a little bit more time and effort. Adding some Bootsrap mojo to your Genesis powered site will give you the flexibility and the best of both worlds, I'm looking forward to hearing where your Bootstrap + Wordpress + Genesis escapades lead you, hit me up on LinkedIn, Twitter or down below in the comments.Bootstrap Table Tests
# | First Name | Last Name | Username |
---|---|---|---|
1 | Mark | Otto | @mdo |
2 | Jacob | Thornton | @fat |
3 | Larry the Bird |
Leave a Comment