0

I am trying to implement Snapchat Font Awesome icon in my Rails app. To implement Bootstrap I have installed twitter-bootstrap-rails gem.

I am able to implement Facebook Font Awesome icon using <i class="fa fa-facebook-official fa-2x"></i>, but <i class="fa fa-snapchat-square fa-2x"></i> does not display anything.

halfer
  • 19,824
  • 17
  • 99
  • 186
Vishal
  • 707
  • 1
  • 8
  • 30
  • Check the version of fontawesome included in your project. `fa-snapchat-square` has been added only recently in version 4.6 – Slava.K Jan 17 '17 at 07:04
  • @Slava.K thanx for you comment. I checked and found that the version used by _twitter-bootstrap-rails_ gem has 4.4.0 version of font awesome. So i wanted to ask that is there any way to update font awesome version in _twitter-bootstrap-rails_ gem? – Vishal Jan 17 '17 at 11:14
  • you can fork twitter-bootstrap-rails gem on github, update dependency there and then include it in your Gemfile: `gem 'twitter-bootstrap-rails', :git => "your fork url here"` – Slava.K Jan 17 '17 at 12:13
  • @Slava.K I tried that. But the latest version of fontawesome in _twitter-bootstrap-rails_ is 4.4.0. So I had to use _font-awesome-rails_ gem. – Vishal Jan 19 '17 at 01:34

0 Answers0