FontAwesome
is including font files like ../fonts/fontawesome-webfont.eot?v=4.0.3
, so you should try to put them in webroot/fonts
(like webroot/fonts/fontawesome-webfont.eot
)
Where to put .ttf files Folder which comes with font awesome 4.03 in cake php 2.3
-
11-10-2022 - |
Question
I am New to CakePhp and want to learn more about it because of it's flexibility.But am having a bit of a prob already.
I have this project of mine where iam using font awesome in CakePhp. When i extracted the zip file of Font-Awesome i found "font-awesome.css " and a Folder name "fonts".
Well i have included the "font-awesome.css " in my default.ctp and copy the css file in "app/webroot/css folder".
Like this
<?php echo $this->Html->css('font-awesome');?>
<body>
<i class="fa fa-calendar fa-3x"> MyAttendence</i>
</body>
but i don't know where to put the "fonts" folder, i have tried placing this folder inside webroot/files/ but still no luck .
Any help is appreciated.
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow