I am currently using bootstrap for my HTML project. However, I am currently got stuck on how to change the color of upload file button. I tried to search on how to change it over the internet but everything uses display:none which hide the "no file chosen" or "the name file" appeared when the file is uploaded. That part is something that I really want to have.
This is the code that I have right now
<form method="POST" action="/uploadFile" enctype="multipart/form-data">
<label class="btn btn-primary"> File Upload <input type="file" name="file" style="display: none"/></label><br/><br/>
<input type="submit" value="Submit" class="btn-primary" data-toggle="modal" data-target="#myModal"/>
</form>
How to change the button color to btn-primary without sacrificing the notice that it has from input type="file"?
/EDIT: This is what I have right now,
This is what I want but the style of the button is btn-primary
this is the code that I have to achieve on the second picture
<form method="POST" action="/uploadFile" enctype="multipart/form-data">
<input type="file" name="file"/><br/><br/>
<input type="submit" value="Submit" class="btn-primary" data-toggle="modal" data-target="#myModal"/>
</form>

