Jump to content
  • 0

Set width for Stripe payment fields


DesiLogi

Question

Hi,

Does anyone know how to restrict/set the width of the payment fields (credit card, expiration date, and security code) for Stripe Payment Integration? I've tried the normal way in the datapage (pixels, characters, %) but it doesn't seem to affect it at all. I've also put in a width:200px; in the Style Form Fields Source section at the bottom where there's a listing for payment fields but it still doesn't affect it. There must be a different place to enter a fixed width for payment fields. If anyone knows that'd be great- thanks!

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

No worries re this question. I just realized I had a fixed width for the div all the fields were in and that was keeping the cc fields wide. I just changed the div width below and it worked well, in case anyone else needs this. 

<style>
div[class^='cbFormTextField'] {
width: 200px !important;
height: 20px !important;

</style>

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...