I've been trying to remove a black border surrounding my selectpicker list box:
https://i.sstatic.net/V2rNq.png
Even without focus, the border persists:
https://i.sstatic.net/ncoDM.png
Despite using outline: none;
in my CSS, the unwanted border remains. Here is the code snippet:
.customSelect{
border: 1px solid #ced4da !important;
color: #495057 !important;
}
.customSelect:hover{
background-color: #f8f9fa !important;
}
.customSelect:focus{
outline:none !important;
/* also tried adding in :
outline-width: 0 !important;
box-shadow: none;
-moz-box-shadow: none;
-webkit-box-shadow: none;
*/
Here's the HTML for the input:
<select name="function_title_id"
id="function_title_id"
title="Please select..."
class="form-control selectpicker"
data-live-search="true"
data-style="customSelect"
data-dropup-auto="false"
disabled>
</select>
Any suggestions on how to resolve this issue? Thanks!
UPDATE: For further reference, you can view my problem using the following fiddle link: https://jsfiddle.net/jocxaqe9/