How can I adjust the width of the Total textbox on the Payment Field?

  • Profile Image
    Ian Barnes
    Asked on March 10, 2017 at 11:21 AM

    Hello,

    I have my calculation box hooked to my Paypal Widget so the total is passed along to it.

    My issue is that the Paypal box is too small. If I have a product that say will be $1975.89, the last 2 digits are hidden. There is no option for box size.

    How can I get that box enlarged?

     

    Ian

     

  • Profile Image
    Jim_R
    Answered on March 10, 2017 at 02:59 PM

    Hey Ian, I assume you're working on this form 21256909382256 You can change the width of the TOTAL textbox by using CSS.

    input[id*='_donation'] {

      width: 80px;

    }

    Complete guide: How-to-Inject-Custom-CSS-Codes 

    RESULT:

    Feel free to adjust the width value in px if you need it longer/shorter.

  • Profile Image
    Ian Barnes
    Answered on March 10, 2017 at 03:09 PM

    OK, thanks. I shall give it a whirl. 

     

    Ian

  • Profile Image
    Ian
    Answered on March 10, 2017 at 03:15 PM

    Worked like a charm. Thanks!!!!

     

    Ian

  • Profile Image
    Jim_R
    Answered on March 10, 2017 at 04:34 PM

    Awesome, glad that helped! If you have other questions, just open a new thread so we can help.