Reputation: 2907
New to rails. I'm experimenting with adding the Twitter Bootstrap CSS to my project to make my layout look nicer.
However, I think some of the CSS rules from my default Rails app is interfering with the Twitter Bootstrap CSS.
Is there a way where I can remove the existing CSS assets, and just keep using the Bootstrap ones?
Upvotes: 1
Views: 4619
Reputation: 231
You should find where the default css files located(assets/stylesheets),remove them. ...of course don't remove the application.css
Upvotes: 3
Reputation:
If you generated a scaffold (which I assume you did), you can remove the default styling by clearing app/assets/stylesheets/scaffold.css.scss. If you delete the scaffold.css.scss file and you generate a new scaffold, the default stylesheet will be added again, this can be alleviated by simply clearing the file of its contents.
Do not delete application.css
Upvotes: 4