Questions tagged [font-awesome-4]
82 questions
420
votes
24 answers
How to style icon color, size, and shadow of FontAwesome Icons
How could I style the color, size and shadow of icons from FontAwesome's Icons?
For example, FontAwesome's site will show some icons in white and some in red but won't show the CSS for how to style them that way ...

Elias7
- 12,285
- 13
- 35
- 35
46
votes
2 answers
Change color when hover a font awesome icon?
Base in the Font Awesome documentation I create this icon:
This code create this html:

JPashs
- 13,044
- 10
- 42
- 65
44
votes
5 answers
How do I decrease the size of a font-awesome icon?
What is the best way to decrease the size of a font awesome icon. There is a fa-3x, etc... to increase the size. Is there a class to decrease the size?

Michael JDI
- 1,241
- 5
- 18
- 30
7
votes
2 answers
what does "-o" mean in font awesome class names?
For example, how are the classes "fa-square-o" and "fa-square" different from each other? Where can I find more information on font-awesome class name conventions? I searched on their website, but couldn't find specific guidance on font-awesome…

user2407334
- 887
- 1
- 10
- 15
6
votes
3 answers
Stacking Font-Awesome Star Icons (fa-star & fa-star-half)
I want to stack the two Font Awesome icons fa-star and fa-star-half, but I am having alignment issues. See image below:
Here is my HTML:

Jesse
- 447
- 2
- 8
- 18
6
votes
1 answer
Font Awesome "Cog" spins unevenly
We are using and adding/removing fa-spin on certain js events. The problem, which is easily visible at 3x, is that the cog does not spin around a fixed axis. I suspect this is because the icon itself (SVG) is reported by Chrome at 42 x 49 pixels,…

Jim Thompson
- 71
- 5
6
votes
1 answer
How to deliver fonts from a non-standard directory using Asset Pipeline
I'm trying to include Fontawesome with a Rails 4 app however the assets aren't making it into the asset pipeline. However, the fonts aren't making it out in production and I can't figure out why.
File structure organisation
All my assets are stored…

Peter Nixey
- 16,187
- 14
- 79
- 133
5
votes
2 answers
Is there an upgrade guide for Font Awesome 3.2.x to Font Awesome 4.0?
Font Awesome 4.0 is a complete rewrite of Font Awesome from the ground up. One of the major new features is that icons are now namespaced. In addition to namespacing the icons utilize a new naming convention based on consistency and predictability.…

ahsteele
- 26,243
- 28
- 134
- 248
4
votes
2 answers
4
votes
2 answers
Custom TextView font not applied on setting text from java android
I have created a Custom TextView to use Font Awesome support, its working fine when you add the text (unicode ) in layout xml. But if am trying to set the text from my Adapter dynamically using view.setText(), its not applying the…

Saqueib
- 3,484
- 3
- 33
- 56
4
votes
1 answer
font-awesome and less : icon classes unreconized
I have a main.less file that I'm trying to compile with font-awesome classes.
My less file is very simple :
@import "../bower_components/bootstrap/less/bootstrap.less";
@import "../bower_components/fontawesome/less/font-awesome.less";
.button {
…

Pierre-Yves Le Dévéhat
- 1,015
- 11
- 24
4
votes
3 answers
cant display Font awesome icons?
I just have started using Font Awesome in my MVC application which already have Bootstrap. I need to use some icons and I have copied font-awesome.css into my project but icons are not visible. I have inlucded only this css, not sure but want to ask…

Toubi
- 2,469
- 10
- 33
- 49
4
votes
2 answers
Font-Awesome Icons Not Showing
I installed the font-awesome Rails gem but the icons aren't showing. Instead, in Chrome, I get an empty box (shown below).
I added gem 'font-awesome-sass' to my gemfile, ran bundle, and added *= require font-awesome to my application.css file.
I…

suga_shane
- 694
- 10
- 19
4
votes
6 answers
Why do my icons show up as blank squares?
I've created a new (simple) website in IIS8. I've created a simple Index.html and put in jQuery, Bootstrap3 and Font-Awesome 4.0.0 to start playing with.
However my Font-Awesome icons show up as nothing (squares):
My folder structure is
/
-…

Rowan Freeman
- 15,724
- 11
- 69
- 100
4
votes
1 answer
CDN for Font Awesome 4.0 not serving font files
I've been using Font Awesome for a little while now, and was updating to 4.0 today. I decided to use the BootstrapCDN this time, and I've run into problems. The icons aren't being displayed despite using the new class names.
The CSS file is getting…

Bill
- 43
- 2
- 4