Forums

Fixing the height of a text area

jross 21 Mar, 2019
Hi, I have searched the forums for an answer to this with no success.
How do I set a text area to stay fixed at a height of 5 rows and not compress down to 1 row when the form first loads?
(I have set rows to 5 in the text area setup).
Thanks in advance,
JR
healyhatman 21 Mar, 2019
It's not compressing for me, do you have the latest version installed?
healyhatman 21 Mar, 2019
It's not compressing for me, do you have the latest version installed?
jross 21 Mar, 2019
Hi, yes I only downloaded the component 2 days ago and loaded it.
The form can be viewed at https://budgetyachtcharters.com/index.php/contact-us/charter-enquiry-form
It's the first field on the form.
healyhatman 21 Mar, 2019
Use a custom CSS block. Your template's CSS is setting the textarea height to 40px.
jross 21 Mar, 2019
Aaaah thanks for that.
Would it be too much to ask for the suggested CSS code? I tried to work it out with the code inspector but CSS is not my strength.
jross 21 Mar, 2019
Well done I will give it a try. Thanks for your help
JR :-)
This topic is locked and no more replies can be posted.