Change height, color of Stripe Button (custom its CSS styles)
-
Hi everyone, may I ask how I can customize the height of the Stripe button (not the form)?
I have read the doc of Stripe (https://stripe.com/docs/stripe-js/elements/payment-request-button#styling-the-element) and found that when the paymentRequestButton is created, there is a property called “height” passed to it. But I am not sure it is achievable via the plugin, or is there a built-in way (other than 3 provided sizes in the admin dashboard)?.
Many thanks.
P/S: the link I provided is just an example. We need to change the layout, then eventually need to change the height of the buttons (including the Stripe’s one).
Besides the height, I think I need to update the button’s color as well. The default color and when the button is hovered on. Can I inject my own CSS styles.something:hover
..?- This topic was modified 3 years, 5 months ago by .
- This topic was modified 3 years, 5 months ago by .
The page I need help with: [log in to see the link]
- The topic ‘Change height, color of Stripe Button (custom its CSS styles)’ is closed to new replies.