Style drop down select field bootstrap

Hi

I would like the color of my drop down select to be a different color right now it is ‘success’ (I think looking at it) I owud like it to be ‘secondary’.

i.e. right now when my mouse ‘hovers’ on the select drop down - each line is highlighted in ‘blue’ I would like to access and change this default cover with boostrap.

<div class="form-group">
<select class="form-control">
<option value="1">1</option>
<option value="2">2</option>
</select>
</div>

How do I change this?

Thanks

Hi,

You cannot style the option element reliably due to browser limitations. See the bootstrap documentation for how to change the initial select’s appearance.

1 Like

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.