We’re giving away Bootswatch merchandise this month! Three prize packs are up for grabs that include a t-shirt and stickers that feature the new logo.
There are two easy ways to enter the giveaway:
You’re welcome to do both to double your chances. Winners will be picked at the end of September.
T-shirts and stickers are also available for purchase, if you’d like to show your love for the project. Several t-shirt designs are available based on themes including Cyborg, Flatly, and Slate (pictured above). Head over to the Support page for more details.
A new Twitter account has just been set up at @Bootswatch. Follow to get the latest news and connect about all things Bootswatch.
Paper takes inspiration from Google’s material design manifesto. Features include animated form inputs and tabs, as well as progress bars with matching background colors. No button click animations yet, but if you’re up to the task of recreating them with CSS only, please contribute.
Sandstone offers a warmer palette of tans, browns, and greens in this cold world of blues and grays.
But Bootswatch giveth, and Bootswatch taketh away — Amelia has been deprecated. For now, you can still access it directly here and through the API, but it will be removed in the next update.
Bootswatch is giving away five copies of Extending Bootstrap by Christoffer Niska.
Five lucky entrants will win an ebook copy of Extending Bootstrap. Enter to win using the form below by Friday, June 27.
Winners will be selected at random. Please do not submit multiple entries. Your email address will be used for this contest and nothing else.
The giveaway has ended and the winners will be contacted by email.
It’s tempting to use Bootstrap for your project and be done with the design, especially if you don’t come from a design background. What you often end up with resembles something like this (view live):
But if you care about how your content is received, don’t let Bootstrap be the final word on your design. A small effort here will pay off in spades.
To help with this, here are five simple tips to get the most out of Bootstrap. Don’t worry: you won’t have to dig into LESS and customize the Bootstrap source.
As I go through the list, I’ll apply each piece of advice to the example above.
When it comes to typography, a common rule of thumb is to limit lines of text (i.e., the measure) to 50-75 characters for improved readability. To put it in Bootstrap terms, your text should use 6 columns at most, given the default 14 pixel font size. Using all 12 columns for long-form text results in 170-character lines, well over the optimal range.
Here, I’ve reduced the text to 8 columns while bumping the font size up to 20 pixels. (view live)
Adding whitespace to your sections, paragraphs, etc. can dramatically improve the readability of your site. By default, Bootstrap often doesn’t provide sufficient margins and paddings. Not that I blame Bootstrap — it can’t know in advance how your content and components are going to fit together, which is what determines the effective use of whitespace.
In my example, I’ve increased the paragraph top and bottom margins and line height to 1.6em. (view live)
When it comes to interface design, less is more. You want to bring the content to the forefront. Use only a few fonts, a few colors in your palette, and even as few Bootstrap components as necessary. The slighter the differences are, the more likely it is that you should eliminate them by combining styles.
I noticed slight discrepancies with the font size, weight, and color between the main paragraph text, the lead, the button text, and the navbar brand in my example. I’ve made them consistent here. (view live)
There is one exception to the “less is more” maxim: when it comes to images, bigger is better. For example, if you have a jumbotron at the top of your page, consider replacing it with a full-width background image or pattern. background-size: cover is your friend here.
In my example, I simply darkened a photo by 75% to contrast the white text and set it as the background image. (view live)
Last but not least, consider using a Bootswatch theme to give your site a fresh look. This gives your Bootstrap components a distinct style with minimal effort. Unless you’re confident in what you’re doing, stick with a more neutral theme like Lumen, Darkly, or Yeti.
Here, I’ve replaced the default Bootstrap stylesheet with Yeti, giving the page’s button and typography a new spin. (view live)
Here’s an animation that shows the progression. Granted this is a basic example, but these same principles can be applied to any website. Keep them in mind and even if you’re not a design guru, hopefully they help you take your Bootstrap-based site to the next level.
Know of a Bootstrap site that needs sprucing up, whether yours or someone else’s? Hope you haven’t forgotten about Geo, a Bootstrap theme for the ages. Cupid and Shamrock also make effective themes on this special day…
Earlier this month I mentioned Bootsnipp, a repository of HTML snippets for Bootstrap. Browse the collection and you’ll find contact forms, timelines, pricing tables, and more that you can copy and paste into your own project. Bootsnipp also provides a handy drag-n-drop form builder and button builder.
What I wanted to bring your attention to today is Bootsnipp’s new theme selector. For any HTML snippet, you can now switch between plain Bootstrap and any of the Bootswatch themes. In the screenshot above, I’m previewing the login snippet with Lumen, and it takes seconds to check how it would look with Cyborg, Flatly, and other themes.
Bootswatch styles, Bootsnipp markup, and Bootstrap as the interface between the two. Now that’s a powerful combo.
Since the release of Flatly, Bootswatch has gotten lots of requests for a dark version. Well today I’m thrilled to announce Darkly.
As you can see above, Darkly keeps much of Flatly intact, while tweaking some of the styles to work with a dark background.
Hat tip to Jenil Gogari for his great work on this theme.
Check out Darkly now.
Now it’s quicker than ever to grab HTML snippets from Bootswatch. Simply hover over a component, click the button in the top-right corner, and copy code from the handy-dandy modal. No need to pull up the dev tools or consult the docs. Try it out now with Lumen.
Bootstrap 3 takes a mobile first approach and is responsive right out of the box. This is convenient in most situations, but can make things harder when you don’t actually want to be responsive.
The official Bootstrap docs have instructions on how to to disable it for Bootstrap. They work the same for Bootswatch themes.
Remove this meta tag from your page if you’ve got it.
<meta name="viewport" content="width=device-width, initial-scale=1">
Use col-xs-* classes for any grid columns. A find and replace should do it.
Now you want to disable any media queries. You can do this either by overriding with CSS or re-building with LESS. I strongly recommend the latter.
To override the CSS, add the styles in following gist to your page. They’re based on the ones used in Bootstrap’s non-responsive example.
You can see it in action here: http://jsbin.com/pubas/1
Note that this results in extraneous code, and there’s a good chance some responsive styles are missed. Moving from version to version might start to resemble a game of whack-a-mole.
To build a non-responsive version of a theme, open up variables.less and set
@grid-float-breakpoint to 0. Set
.container to your desired width (e.g., 970 pixels) either in LESS or CSS. Re-build the theme and you’re all set.