I’m not sure if this is the only way, but here is one way:
Under the plugin directory:
/plugins/contact-form-7/modules/
Edit the following two files text.php and textarea.php
Both have a “default size” that is set to:
size=”40″ (columns)
size=”10″ (rows)
text.php (line 75 or so of the code)
if ( $size_att )
$atts .= ' size="' . $size_att . '"';
else
$atts .= ' size="40"'; // default size
Change “40” to something else (smaller width is size=”30″ columns). You’ll see a similar line of code for rows.
textarea.php (line 72 or so of the code)
if ( $cols_att )
$atts .= ' cols="' . $cols_att . '"';
else
$atts .= ' cols="40"'; // default size
if ( $rows_att )
$atts .= ' rows="' . $rows_att . '"';
else
$atts .= ' rows="10"'; // default size
NOTE: When you upgrade to the next version of the plugin, you’ll need to do this again. Anyone know a better way to do this so you don’t need to re-edit after each new version?