Font-awesome: fa-facebook-f

Created on 21 Feb 2018  路  5Comments  路  Source: FortAwesome/Font-Awesome

I am trying to use the plain f for Facebook (not square). If I use the svg with js method, it works fine, BUT I need to put a text-shadow on it, so I switched to the webfont method (CDN), but it is displaying as the facebook square.

I am using this: fab fa-facebook-f

But getting:

screen shot 2018-02-21 at 4 56 15 pm

Is this a bug in the webfont?

Most helpful comment

Just checked the fontawesome css and there it is:

.fa-facebook-f:before, .fa-facebook:before {
content: "\f09a";
}

I'm just adding

.fa-facebook-f:before {
content: "\f39e"!important;
}

to my stylesheet. Leaving here in case it's an issue for anyone else.

All 5 comments

Just checked the fontawesome css and there it is:

.fa-facebook-f:before, .fa-facebook:before {
content: "\f09a";
}

I'm just adding

.fa-facebook-f:before {
content: "\f39e"!important;
}

to my stylesheet. Leaving here in case it's an issue for anyone else.

Hi!

Thanks for being part of the Font Awesome Community.

I cannot confirm: https://github.com/FortAwesome/Font-Awesome/blob/master/web-fonts-with-css/css/fontawesome-all.css#L982-L986

fa-facebook-f and .fa-facebook have their own separate unicode point

Please check that you are using the latest version of Font Awesome and there are not older versions or third party stylesheets involved

Closing here

I am using latest pro version and I have the same issue with Facebook icon rendering as F in a square. @websydaisy solution worked for me.

Having the same issue!

The strange thing is that @websydaisy 's solution is not working for Chrome, but works for Opera and Safari.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

omnimint picture omnimint  路  3Comments

lickmydesign picture lickmydesign  路  3Comments

ufoczek picture ufoczek  路  3Comments

daneren2005 picture daneren2005  路  3Comments

desspro picture desspro  路  3Comments