Support » Themes and Templates » comments box twentyten
6 years, 5 months ago
The default width of the input fields (name, email and website) is just too much, and does not look good.
How can I reduce it?
This whst I tried and did not do the trick.
I read: http://codex.wordpress.org/Function_Reference/comment_form
<?php $comment_args = array( 'fields' => apply_filters( 'comment_form_default_fields', array(
'author' => '<p class="comment-form-author">' .
'<label for="author">' . __( 'Your Name' ) . '</label> ' .
( $req ? '<span class="required">*</span>' : '' ) .
'<input id="author" name="author" type="text" value="' .
esc_attr( $commenter['comment_author'] ) . '" size="30"' . $aria_req . ' />' .
'</p><!-- #form-section-author .form-section -->'
I tried changing the size from 30 to less but when I view in browser, the change does not take effect.
What I am doing wrong?
Anyone there who can guide?
5 years, 8 months ago
The “30” you edited refers to the icon size, I believe.