bootstrap 3 selectpicker input-lg is overridden

user2867106 picture user2867106 · Apr 3, 2014 · Viewed 7.3k times · Source

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.

Answer

Zim picture Zim · Apr 3, 2014

You can use the style option on the selectpicker..

style:'btn-lg'

http://www.bootply.com/127059