0

Having a lot of trouble here, it works with an earlier version of font-awesome, but not the newest one.

Imported in HTML via

<link href="css/font-awesome.min.css" rel="stylesheet">

Modified font-awesome.min.css like so:

 @font-face{
    font-family:'FontAwesome';
    src:url('/font/fontawesome-webfont.eot?v=3.1.0');
    src:url('/font/fontawesome-webfont.eot?#iefix&v=3.1.0') format('embedded-opentype'),
    url('/font/fontawesome-webfont.woff?v=3.1.0') format('woff'),
    url('/font/fontawesome-webfont.ttf?v=3.1.0') format('truetype'),
    font-weight:normal;
    font-style:normal
}

Using an icon like so:

<i class="icon-anchor"></i>

But to no avail... I have the EXACT same code with the older version (diff versions), and it's not working.

4

0 回答 0