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:
ok:
<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
Post a Comment