antonsherb
Forum Replies Created
-
I found a workaround that is a bit outside-the-box (literally) and simple but it worked for my site. Just adding this to CSS for the single-product & cart pages:
iframe {
border-radius: 25px;
}Figured I would share in case other folks have this issue. Looks great now!
Thank you for the reply and providing the relevant selectors. However, the documentation you linked only seems to apply to the input fields and not to payment request buttons.
<?php
function my_theme_modify_stripe_fields_styles( $styles ) {
return array(
‘base’ => array(
‘iconColor’ => ‘#666EE8’,
‘color’ => ‘#31325F’,
‘fontSize’ => ’15px’,
‘::placeholder’ => array(
‘color’ => ‘#CFD7E0’,
),
),
);
}add_filter( ‘wc_stripe_elements_styling’, ‘my_theme_modify_stripe_fields_styles’ );
So is this the correct filter to use for changing the style of the Apple Pay button? There doesn’t seem to be a “state” for the payment request button.
Also, the link to Stripe documentation doesn’t work anymore:
To see a description of the expected array, go to: Stripe – Element Options. As explained on that page, you need to have the following options.
Thanks again for your help!