css - How can I force bg-primary on my ul using Bootstrap 3? -


i have mouse-over highlights li using themed bootstrap color. however, list-group-item overriding background style white.

this component used multiple people , knows set bg-primary as? don't want force specific color.

is there way override cascade case , have bg-primary override list-group-item instead of other way around?

here fiddle showing problem:

https://jsfiddle.net/scottieslg/5bqtr8dn/1/

<div class='container'>   <ul class='list-group'>     <li class='bg-primary list-group-item'>test1</li>     <li class='list-group-item'>test2</li>     <li class='list-group-item'>test3</li>   </ul> </div> 


Comments

Popular posts from this blog

mysql - Dreamhost PyCharm Django Python 3 Launching a Site -

java - Sending SMS with SMSLib and Web Services -

java - How to resolve The method toString() in the type Object is not applicable for the arguments (InputStream) -