Skip to content
seyhunak edited this page Feb 21, 2012 · 7 revisions

First, update your bundle via "bundle update" and run install generator

rails g bootstrap:install

So you have to require "bootstrap_and_overrides" file in your application.css.

Change the line;

*= require twitter/bootstrap 

in application.css to

*= require bootstrap_and_overrides

This file imports Bootstrap and responsive styles for you (Responsive module is seperated.)

If you'd like to alter Bootstrap's own variables, or define your LESS styles inheriting Bootstrap's mixins, you can do so inside bootstrap_and_overrides.css.less:

@linkColor: #ff0000;

For detailed steps please check README file; https://github.com/seyhunak/twitter-bootstrap-rails/blob/master/README.md