Where is best to edit CSS using twitter-bootstrap

I am currently trying to handle the loading, and I am trying to figure out where I should edit the CSS. I created a custom.css.scss file to edit the settings in the app / assets / stylesheets folder, however, when I add rules that they often seem to be overridden, I find that I need to edit some elements by going to the external -sass boot libraries resource and drilling down to the folder .. / stylesheets / bootstrap, where then I need to look for the appropriate style to change. I'm sure I am doing it wrong, is there something I should do to ensure that my custom.css.scss takes precedence? Any help is much appreciated!

+3
source share
2 answers

You do not want to edit the bootstrap files themselves, but the CSS rules have a priority structure that determines which CSS rules are used. It is not very difficult, but a little difficult until you hang it.

Smashing Magazine has a relatively good view of this with links to other sources.

+2
source

In the application.css application found in the assets, all other styles are included, you just need to change the order of them, as indicated here: Rails 3.1 Download css in a specific order .

0
source

All Articles