Created
October 21, 2016 11:45
-
-
Save tribulant/170a8309a2da904ed703e8b00d44950e to your computer and use it in GitHub Desktop.
Override Bootstrap Styles
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Put this CSS in a file that loads after the bootstrap.css | |
Eg. Inside wp-checkout/views/bootstrap/style.css | |
Start each Bootstrap class you want to override with .checkout ... | |
This example will remove the rounded corners from the button. | |
It will make the button pink with black text. | |
And on hover, active or focus the button will be red with white text | |
*/ | |
.checkout .btn { | |
border-radius: 0; | |
} | |
.checkout .btn-primary { | |
background: pink; | |
border: pink; | |
color: black; | |
} | |
.checkout .btn-primary.active, | |
.checkout .btn-primary.focus, | |
.checkout .btn-primary:active, | |
.checkout .btn-primary:focus, | |
.checkout .btn-primary:hover { | |
background: red; | |
color: white; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment