How to style the Card Fields in any Payment Form using the Stripe Payment Gateway?
- Subscription Sign Up
You can ask Stripe to rename some of the available classes by redefining the classes object. To do this in Siteglide, create a global variable stripe_classes:
Any styles you set in the stripe_styles object to base will still apply after changing the class, unless you specifically override them.
You can see a full reference for the available properties for this object in the Stripe documentation here: https://stripe.com/docs/js/elements_object/create_element?type=card#elements_create-options-classes