I want to change the caret icon in selectize.js to be like bootstrap's (glyphicon-menu) as shown in the image below:
I am using (selectize.bootstrap3.css) and tried to play with this css file but no luck.
I have figured it out. I changed the following css classes inside (selectize.bootstrap3.css) file that render the icon:
.selectize-control.single .selectize-input:after {
content: '\e259'; /*This will draw the icon*/
font-family: "Glyphicons Halflings";
line-height: 2;
display: block;
position: absolute;
top: -5px;
right: 0;
background-color: white;
padding-right: 2px;
}
.selectize-control.single .selectize-input.dropdown-active:after {
content: '\e260';
font-family: "Glyphicons Halflings";
background-color: white;
padding-right: 2px;
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With