Take for instance this button:
<input class="btn btn-primary btn-block btn-lg register_btn rounded-0 submit-button" type="submit" value="Submit">
and the CSS code within a custom custom.css
file:
.submit-button {
background-color:yellow!important;
border-color:yellow!important;
}
Unfortunately, the button's color does not change as intended. However, applying an inline style to the button works correctly.
This is how I link the Bootstrap and custom.css
files:
<link rel="stylesheet" type="text/css" href="/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="/css/custom.css">