🌈 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.
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.cssjquery.fonticonpicker.grey.min.cssjquery.fonticonpicker.bootstrap.min.css
And it still looks like this:
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.
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:
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.