Conversation
supportHi there, I’ve already tried a couple of things, but can’t get it to change the font size of SEPA local payment gateway terms text, as it is loaded as an iFrame. I would really appreciate your help. Thanks a lot in advance! Kind regards, Chris
Hi @chrizzo321 To modify the styling of elements that are within the Stripe iframe, you can use the following filter: wc_stripe_get_element_options The plugin documentation site has an example of how to use that filter: https://paymentplugins.com/documentation/stripe/code-examples/customize-payment-form/#the-code In your code, you would use $gateway->id === 'stripe_sepa' . Kind Regards
Hi Clayton, I’ve never worked with filters before, but this worked just fine. I’m impressed by your quick reply and support. Thanks a lot. Looking forward to version 4.0. Kind regards, Chris
Hi @chrizzo321 Thank you for confirming that filter worked for you. A good review of the plugin is always appreciated. https://wordpress.org/support/plugin/woo-stripe-payment/reviews/ Kind Regards
Hi @chrizzo321 To modify the styling of elements that are within the Stripe iframe, you can use the following filter: wc_stripe_get_element_options The plugin documentation site has an example of how to use that filter: https://paymentplugins.com/documentation/stripe/code-examples/customize-payment-form/#the-code In your code, you would use $gateway->id === 'stripe_sepa' . Kind Regards
Hi Clayton, I’ve never worked with filters before, but this worked just fine. I’m impressed by your quick reply and support. Thanks a lot. Looking forward to version 4.0. Kind regards, Chris
Hi @chrizzo321 Thank you for confirming that filter worked for you. A good review of the plugin is always appreciated. https://wordpress.org/support/plugin/woo-stripe-payment/reviews/ Kind Regards