WordPress.org

Ready to get started?Download WordPress

Forums

comments box twentyten (3 posts)

  1. Tara
    Member
    Posted 4 years ago #

    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?

  2. Tara
    Member
    Posted 4 years ago #

    Anyone there who can guide?

  3. rhys
    Member
    Posted 3 years ago #

    The "30" you edited refers to the icon size, I believe.
    Rhys

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.