micc83 / fontIconPicker

🌈 jQuery fontIconPicker v2 is a small (3.22kb gzipped) jQuery plugin which allows you to include a simple icon picker with search and pagination inside your administration forms.
http://micc83.github.io/fontIconPicker/
MIT License
266 stars 86 forks source link

Themes not working? Not default theme either? #49

Closed mariusberget92 closed 4 years ago

mariusberget92 commented 4 years ago

I have this very weird problem as the picker won't show up with any styles. It's just all white. I've checked that all the css files are loaded properly in the browser, and they are.

The css i include are theese: jquery.fonticonpicker.min.css jquery.fonticonpicker.grey.min.css jquery.fonticonpicker.bootstrap.min.css

And it still looks like this: bilde

Here is the code i use to instantiate the icon picker: var fontIconPickerInput = $('#fontIconPicker'); fontIconPickerInput.fontIconPicker({ emptyIcon: false, source: ['fas fa-heart', 'fas fa-search', ' fas fa-user', 'fas fa-tag', 'fas fa-help'], theme : 'grey' });

Am I missing something here? I also tried adding some style to the .selector class, but it doesn't show either. I don't know what I am doing wrong here.

micc83 commented 4 years ago

Hello @kaizokupuffball, unfortunately v2 is not supported anymore. Checkout v3 at https://github.com/fontIconPicker/fontIconPicker.