I am facing an issue with a file upload control that I have implemented. The code is provided below:
<div class="row">
<div class="col-md-12">
<div class="alert alert-warning normal-text hide" role="alert" id="ImportErrorMessage"></div>
<div class="panel panel-default">
<div class="panel-body">
<form id="FileImportForm" method="POST" action="api/FileUpload/Upload" enctype="multipart/form-data">
<div class="col-md-1">
<a href="#" class="btn btn-danger btn-xs download-template" title="Get Template"><span class="glyphicon glyphicon-download-alt"></span> Get Template</a>
</div>
<div class="col-md-3">
<select id="ItemDdl" class="col-md-12 item-list" title="Items"></select>
</div>
<div class="col-md-3">
<input type="file" id="ImportFile" name="ImportFile" accept="*.xlsx" class="col-md-12" />
</div>
<div class="col-md-1">
<button class="btn btn-danger btn-xs" id="ImportFileBtn" type="Submit" title="Import and Validate"><span class="glyphicon glyphicon-import"></span>Validate</button>
</div>
</form>
</div>
</div>
</div>
</div>
Issue Description:
I want the 'No file chosen' message to be displayed in the center as shown in the image, in order to reduce the empty space between the 'Validate' button and the 'Choose file' button.
Solutions Attempted:
I have tried modifying this using CSS properties and jQuery, but I have been unable to find the text in the user interface. Any assistance on this matter would be greatly appreciated.