How to adjust the width of Textboxes inside the Matrix Field?

  • Profile Image
    arcatlantic
    Asked on March 13, 2017 at 01:17 PM

    Hello I have created an input array. while you can place all the text you need to in the white text box, it appears very small inside of the wider, grey cell. Can the white field be expanded? 

    Or is there another way I should be creating this array of input fields?

    I think I will have to drop text onto the form that says the field will accept your answer although you might not see it.

  • Profile Image
    Jim_R
    Answered on March 13, 2017 at 03:54 PM

    You may adjust the widths of the Textboxes within the Matrix Field by injecting the following CSS Codes:

    .form-matrix-values > input {

      width: 95%;

    }

    Feel free to adjust the width as you please. If it doesn't work the first time, try appending the !important tag:

    .form-matrix-values > input {

      width: 95% !important;

    }

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

    RESULT: