This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

natechendev14171
natechendev14171

I'm trying to use font awesome on my theme, but all the "i" tags seem to be just italic text. The console is not raising any errors, but font awesome, either with or w/o putting a copy inside my theme's asset directory, doesn't work.

The demo theme seems to do some magic that packages the font. I can't find how it imports the CSS file on web page. I copied its vender directory to my assets folder but it still won't work.

Last updated

pratyushpundir6424
pratyushpundir6424

Have you tried using FontAwesome thru their CDN instead of packing it with your theme itself? I do that and it works as expected.

Crazymodder
Crazymodder

Hi,

Did you noticed that october has its own version of font awensome. Please check here:

http://octobercms.com/docs/ui/icon

Maybe you got a wrong class name.

Daniel81
Daniel81

Have you checked that the font awesome lib is actually linked to your page within your theme i.e that the path to the font awesome lib is fully correct and pulling through?

natechendev14171
natechendev14171

pratyushpundir6424 said:

Have you tried using FontAwesome thru their CDN instead of packing it with your theme itself? I do that and it works as expected.

Thanks, their CDN seems to be the way for me. It's strange that OctoberCMS's build-in font awesome doesn't work.

natechendev14171
natechendev14171

Crazymodder said:

Hi,

Did you noticed that october has its own version of font awensome. Please check here:

http://octobercms.com/docs/ui/icon

Maybe you got a wrong class name.

Thanks for the answer but that is not the case for me.

natechendev14171
natechendev14171

Daniel81 said:

Have you checked that the font awesome lib is actually linked to your page within your theme i.e that the path to the font awesome lib is fully correct and pulling through?

I used same file structure as the default theme. The only difference is that I use absolute file paths. The other absolute file paths work though and I'm sure the one linked to FA is correct.

1-7 of 7

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.