WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. menkom
    Member
    Posted 2 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 ?

    Thanks.

    http://wordpress.org/extend/plugins/contact-form-7/

  2. pixel8
    Member
    Posted 2 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

About this Topic

Tags

No tags yet.