Contact form 7 Textarea rows and columns change in the shortcode

September 28th, 2020 Shabu James 259 Views 0 Contact Form 71 minute, 36 seconds

Contact form 7 Textarea rows and columns will be faced by each and every one while using WordPress based contact form 7 plugin we will overcome this issue most of the time. Text areas will take too much space than the expected space. To control the row and column and row of text area in contact form 7 we will add attributes to the shortcode. In the first example you can see how to control the row of the contact form 7 textarea.

You can see an attribute x3 this mentions that the textarea has 3 rows to the contact form 7.

[textarea* your-message x3 class:form-control] <!-- only rows -->

The below example is for controlling the column alone in textarea of contact form in this the difference is the number is mentioned before x eg. 10x which represents 10 columns. So that the contact form 7 understands this field has 10 columns

[textarea* your-message 10x class:form-control] <!-- only columns -->

If you need both the row and column in then you have to mention both row and colums to the contact form 7 textarea shortcode 10×3

[textarea* your-message 10x3 class:form-control] <!-- both -->

About The Author

Shabu James

Leave Your Thoughts Here...

We are glad you have chosen to leave a comment. Please keep in mind that comments are moderated according to our comment policy.

Name *
Comment

We are glad you have chosen to leave a comment. Please keep in mind that comments are moderated according to our comment policy.