Skip to content

Instantly share code, notes, and snippets.

@sionc
Created May 17, 2013 08:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sionc/5597636 to your computer and use it in GitHub Desktop.
Save sionc/5597636 to your computer and use it in GitHub Desktop.
Installing FontAwesome
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