Skip to content

Instantly share code, notes, and snippets.

@woogists
Created March 9, 2018 16:57
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save woogists/295da29eedaa559c615d981ba8e06d52 to your computer and use it in GitHub Desktop.
[Stripe] Change the style of the Stripe Form.
/* Target the Credit Card */
#stripe-card-element {
background: #ffffff !important;
padding: 10px 5px !important;
margin: 5px 0px !important;
}
/* Target the Expiry Date */
#stripe-exp-element {
background: #ffffff !important;
padding: 10px 5px !important;
}
/* Target the CVC Code */
.woocommerce-checkout-review-order #stripe-cvc-element {
background: #ffffff !important;
margin: 5px 0px !important;
padding: 10px 5px !important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment