css - bootstrap icons don't show in production server -


i made asp.net mvc web page using twitter bootstrap. in parts of web, use boostrapt icons. in test server (local iis) work's fine in production server, icons draws wrong.

bad:

enter image description here

ok:

enter image description here

<button class="btn <%if(item.esfavorita) {%>btn-warning<%} %>"  id="<%= item.idnoticia %>" onclick="insertarnoticiafavorita(this);return false;"> <i class="<%if(!item.esfavorita) {%>icon-star-empty<% }  else{%>icon-white icon-star<%} %>"></i>favorito </button>  

what cause?

edit: have seen, problem version. "min" of css boostrapt, not load files of icons, it's not that.

if using native bootstrap icons, may caused because of missing image files. please check required png files there.

** , highly recommend u use 1 of bootstrap font icons : http://fortawesome.github.io/font-awesome/ :)


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -