In my bootstrap form, I have an input file that I want to style like a btn-outline-info. Here is the code snippet:
<div class="btn btn-outline-info btn-lg">
<input id="signedAgreementFile" type="file" class="form-control-file">
</div>
As a result, I have a "Choose a file" button with the text "no file choice" next to it in blue within a blue box:
https://i.sstatic.net/od2pK.png
When hovering over it, the button turns blue and the text becomes white: https://i.sstatic.net/goOAP.png
However, when I upload a file, the name of the file replaces "no file choice" but remains white:
https://i.sstatic.net/wtu3k.png
https://i.sstatic.net/H3Qjq.png
I am unsure why this happens or how to correct it as I do not have direct access to this text in the HTML.