Hi @alexanderzhel88 ,
I see where the confusion is coming in with the styling of the Stripe payment forms. It’s great to hear that you are diving into customization with the guide you found on our site. The code example given from this link is designed to show how you can start to apply your own styles. However, it may not cover all elements or specific changes you’re looking to make.
As for what @partizan shared, (we really appreciate you for providing this by the way). This snippet modifies the default appearance settings for the Stripe Universal Payment Element (UPE) through a filter provided by WooCommerce Stripe Gateway. What has been added specifically is an adjustment to the font size of input fields within the payment form.
In essence, this tells WooCommerce Stripe Gateway to instruct Stripe to apply a 16px font size to all the input fields on the payment form, which would affect things like the card number, expiration date, and CVC input areas. It’s a clear and concise example of customizing just one aspect, the font size, of the payment form elements.
Remember that the structure of CSS-like rules within the array will need to match the exact elements and properties that Stripe’s API is expecting. If this isn’t giving you the desired results, you may need to alter the selectors or properties to match the correct format for Stripe’s UPE (Universal Payment Element) customization.
If you continue to face design challenges, while we can’t customize it for you, you might want to reach out to a developer who can dive deeper into this with you.
We really appreciate you for reaching out and I’m sure that others who have encountered the same issue will find this thread helpful.
I’ll mark this as resolved for now and if you have further questions, please feel free to open a new topic?.