Contact Form 7
How to make the textarea on Contact form 7 Autoresize ? (2 posts)

  1. menkom
    Posted 4 years ago #

    Hi guys,

    Wanting a little bit of help. The textarea of contact form 7 does not auto resize depending on the browser width, im wondering if its possible to make the textarea be set to auto size, so for example if the browser window is maximized it will show full or at least to a certain specified size but if i resize the window i want the textarea to resize also

    How can i acheive this ?



  2. George McKnight
    Posted 4 years ago #

    Try adding this to your style sheet:

    textarea { width:100% }

    Or if you don't want this size to affect 'all textareas' throughout your site, you can target the 'Contact Form 7' specific textarea by adding this to your css:

    wpcf7-textarea { width:100% }

    You might also want to try 98% rather than 100%, as this often plays around with your divs, depending on how it's been coded.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Contact Form 7
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.