Created
May 17, 2013 08:04
-
-
Save sionc/5597636 to your computer and use it in GitHub Desktop.
Installing FontAwesome
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Move the font files into assets > font | |
Move the CSS files into assets > stylesheets | |
Edit stylesheet references to font files -> Delete .../font/ from all urls in font-awesome stylesheets | |
Add the following line to config > application.rb | |
# Add app/assets/fonts to the asset path | |
config.assets.paths << Rails.root.join("app", "assets", "fonts") | |
Add the following line to bootstrap_overrides.css | |
/*Using Font-Awesome, so need to disable glyphicons from bootstrap*/ | |
[class^="icon-"] { | |
background-image:none; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment