How to make the amount due field of a payment tool wider?

  • akt1
    Asked on January 31, 2016 at 4:16 AM
    can the payment box be made wider sometimes the full amount cannot be seen
  • Boris
    Replied on January 31, 2016 at 4:38 AM

    In order to widen the amount field of your payment form, you can simply add the following CSS code to your form:

    input[id*="_donation"] { width: auto; }

    You can add CSS code by opening your form in the Designer:

    How to make the amount due field of a payment tool wider? Image 1 Screenshot 40

    Once in the Designer, please switch to the CSS tab and paste the code to the bottom of the textbox, as depicted in the following image:

    How to make the amount due field of a payment tool wider? Image 2 Screenshot 51

    Upon saving the form, your custom amount will be noticeably wider than its default 46px:

    How to make the amount due field of a payment tool wider? Image 3 Screenshot 62

    In the CSS code, if you wanted to set a specific width, you can replace "auto" with a specific width you wanted to use, such as "100px":

    input[id*="_donation"] { width: 100px; }

    Please let us know if you run into any problems while setting it up, or if you need further clarifications with this, and we will be happy to help.