This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
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
Have you tried using FontAwesome thru their CDN instead of packing it with your theme itself? I do that and it works as expected.
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.
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?
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.
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.
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