kartik-v / yii2-icons

Set of icon frameworks for easy use in Yii Framework 2.0
http://demos.krajee.com/icons
Other
71 stars 29 forks source link

[kartik-v/yii2-icons] CSS are not Included #11

Closed abc4IT closed 9 years ago

abc4IT commented 9 years ago

Dear kartik,

i have installed your icon extension successfully without any error. When i take a look on the Code, i see that the class fa etc. are not existing (How it looks: <i class="fa-stack-1x fa fa-square-o"></i>). So the problem is that the stylesheets are not included (only site.css and bootstrap.css).

How do i fix this now?

Best regards Sascha

kartik-v commented 9 years ago

Please read the documentation thoroughly before you start using any of my extensions OR before you submit a query here. You need to read through the yii2-icons documentation to load the icon CSS / assets. You need to also look at how you can use Icon::map before you use use Icon::show and how you can set it up globally through Yii params.

abc4IT commented 9 years ago

I got it, i just skiped the initializing part and didn't saw that it was so important.

Thank you