Reputation: 1131
I use bootstrap selectpicker (http://silviomoreto.github.io/bootstrap-select/)
I am trying to enlarge the select box size by doing:
<select class="selectpicker input-lg">...</select>
If I add "input-lg" to the select input, selectpicker overrides it and the select box isn't resized.
How to overcome this problem?
See http://www.bootply.com/107358# for example.
Upvotes: 2
Views: 7579
Reputation: 16503
If you like to add it inline then use data-style="input-lg btn-default"
or data-style="btn-lg btn-default"
<select name="" class="form-control input-lg selectpicker" data-title="Select Time" data-style="input-lg btn-default">...</select>
Upvotes: 5
Reputation: 362270
You can use the style
option on the selectpicker..
style:'btn-lg'
Upvotes: 10