Change the color of glyphicons to blue in some- but not at all places using Bootstrap 2

The icon will adopt the color from value of the color css property of it’s parent. You can either add this directly to the style: <span class=”glyphicon glyphicon-user” style=”color:blue”></span> Or you can add it as a class to your icon and then set the font color to it in CSS HTML <span class=”glyphicon glyphicon-search”></span> <span … Read more

How can I change the default width of a Twitter Bootstrap modal box?

UPDATE: In bootstrap 3 you need to change the modal-dialog. So in this case you can add the class modal-admin in the place where modal-dialog stands. Original Answer (Bootstrap < 3) Is there a certain reason you’re trying to change it with JS/jQuery? You can easily do it with just CSS, which means you don’t … Read more