bootstrap-filestyle
bootstrap-filestyle copied to clipboard
Bootstrap-filestyle doesn't work. I can't see font awesome.
I am trying to replace the input file "Choose File" icon with font awesome camera icon. I copied and pasted your own code. However, I can't figure out how to make it work. Here is the link to the test case on JSBin, where I copied and pasted your own code: https://jsbin.com/deyites/edit?html,js,output
<link rel="stylesheet" type="text/css" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
<link href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet"/>
<script src="https://code.jquery.com/jquery-3.4.1.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" ></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-filestyle/2.1.0/bootstrap-filestyle.min.js"></script>
Still it doesn't work. Here is the link to JSBin: https://jsbin.com/deyites/edit?html
Can you post the corrected code on JSBin or JSFiddle?
https://jsbin.com/cuwoxed/edit?html,js,output
@markusslima The link that you posted is merely my own code. It doesn't show font awesome camera.