Font Awesome Unicodes not working
-
Hi,
I want to use css to insert FontAwesome-Icons before a string (with the :before pseudoclass). For this I have to use the unicodes of FontAwesome. The css looks like this:a:before{
font-family: FontAwesome;
content: “\f1b2”;
position: relative;}Unfortuntely it doesn’t work. The result is not the icon (here a cube), but \f1b2 as a string (without inherited font-styling)
The inline-method elsewhere on the same page works fine:
<i class=”fa fa-cube”></i>
So it appears to be not a problem with addressing the style-sheet via the themes functions.phpAny idea what to do? Thanks for any hint.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Font Awesome Unicodes not working’ is closed to new replies.