WordPress.org

Support

Support » Themes and Templates » comments box twentyten

comments box twentyten

  • Moderator t-p

    @t-p

    Hi all,

    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?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘comments box twentyten’ is closed to new replies.
Skip to toolbar