css - font awesome icon not showing in cake php -
i have download font-awesome-4.2.0 , load cake php project. corresponding font-awesome files , stored below folders:
css files: \app\webroot\css\font-awesome.min.css \app\webroot\css\font-awesome.css font files: app\webroot\fonts\ less files: app\webroot\less\ scss files: app\webroot\scss
i have call font awesome css files in ctp file like:
echo $this->html->css('font-awesome.min'); echo $this->html->css('font-awesome');
now want show icon ctp file like:
<div class="input-group"> <span class="input-group-addon"><i class="fa fa-user"></i></span> </div>
but icon not showing. help?
use cdn in default file of cakephp using link tag
https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css
Comments
Post a Comment