.alert-error{ color: #a94442; background-color: #f2dede; border-color: #ebccd1; } .alert-success_msg{ color: #3c763d; background-color: #dff0d8; border-color: #d6e9c6; } /*This is modifying the btn-primary colors but you could create your own .btn-something class as well*/ .btn-primary { color: #fff; background-color: #005a7a; /*border-color: #357ebd;*/ /*set the color you want here*/ } .btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active, .open>.dropdown-toggle.btn-primary { color: #fff; background-color: #007d99dc; border-color: #285e8e; /*set the color you want here*/ } .mainContainer{ margin-left: 5%; width: 90%; }