UnaN
UnaN

Reputation: 45

html5up templates adding extra font awesome icons

I am trying to make a website based on the free HTML5up template http://html5up.net/prologue

Anyone know how to get the Deviantart social icon? I tried adding the html code

fa fa-deviantart solo

but when I view it, the link is fine but the icon is in the shape of a can instead of the normal Deviantart icon. Please help? What am I doing wrong?

Upvotes: 3

Views: 3706

Answers (2)

johanpw
johanpw

Reputation: 647

The fa-deviantart is new in FontAwesome 4.1, and does not seem to be available in the template you're using. Try adding this line to your <head> tag:

<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet">

That should make the latest FA library available, and fa-deviantart worked when I tested it.

fa-deviantart icon

Upvotes: 0

jack7en
jack7en

Reputation: 151

I am not sure if you have added the Font Awesome css inside your head tag or not.

With out that you can't get the icon you are looking for. click here to download font awesome file. Or add this inside the head tag.

<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet">

below is the sample to add icons from font awesome collections.

<i class="fa fa-deviantart"></i> fa-deviantart

Please check this Font Awesome for more info.

Upvotes: 2

Related Questions