How to change color text of label
-
Hi everyone,
I’ve been trying to style the labels for the input cards using the following code, but it doesn’t seem to work as expected. Currently, the label color is very light (almost white), making it difficult for customers to see. Could someone point me in the right direction to fix this?
Image: https://ibb.co/5swSXRj
// Shortcode checkout delete_transient( ‘wc_stripe_appearance’ ); // Block checkout delete_transient( ‘wc_stripe_blocks_appearance’ );
add_filter( ‘wc_stripe_upe_params’, function ( $stripe_params ) { $stripe_params[‘blocksAppearance’] = (object) [ ‘rules’ => (object) [ ‘.Label’ => (object) [ ‘fontWeight’ => ‘bold’, ‘color’ => ‘blue’ ] ], ]; return $stripe_params; } );The page I need help with: [log in to see the link]
- You must be logged in to reply to this topic.