Title: Make the Comments/Reply section smaller
Last modified: July 4, 2019

---

# Make the Comments/Reply section smaller

 *  [myfavoritehello](https://wordpress.org/support/users/myfavoritehello/)
 * (@myfavoritehello)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/make-the-comments-reply-section-smaller/)
 * I would like to collapse or make the reply/comments section smaller at the end
   of posts. Can the “comment” box be made into a smaller box? Is it possible to
   put the name and email fields on the same line? Any ways to make this section
   smaller, the better. Thanks.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fmake-the-comments-reply-section-smaller%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Fotis](https://wordpress.org/support/users/markwaregr/)
 * (@markwaregr)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/make-the-comments-reply-section-smaller/#post-11701100)
 * Hi there,
    You can actually remove the URL field by adding this
 *     ```
       function wpbeginner_remove_comment_url($arg) {
           $arg['url'] = '';
           return $arg;
       }
       add_filter('comment_form_default_fields', 'wpbeginner_remove_comment_url');
       ```
   
 * in your child themes function.php file.
    Also you can add this
 *     ```
       .comment-form-comment textarea{
        height:90px;   
       }
       .comment-form-author,
       .comment-form-email{
        width:50%;
           float:left;
   
       }
       .comment-form-email{
        padding-left:20px;   
       }
       .comment-form-author input,
       .comment-form-email input{
        width:100%!important;   
       }
       ```
   
 * to tidy the form.
    To fully change eveything on your comment form check this 
   article [https://www.wpbeginner.com/wp-themes/how-to-style-wordpress-comment-form/](https://www.wpbeginner.com/wp-themes/how-to-style-wordpress-comment-form/)
   Let me know if this worked for you.
 *  Thread Starter [myfavoritehello](https://wordpress.org/support/users/myfavoritehello/)
 * (@myfavoritehello)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/make-the-comments-reply-section-smaller/#post-11701351)
 * Thank you. Hiding the URL field code worked.
 * However, when i add the second set of code, I get this error:
 * Your PHP code changes were rolled back due to an error on line 521 of file wp-
   content/themes/olsen-light/functions.php. Please fix and try saving again.
    syntax
   error, unexpected ‘.’, expecting end of file
 * Line 521 is .comment-form-comment texture{
 * Thank you!
 *  [Fotis](https://wordpress.org/support/users/markwaregr/)
 * (@markwaregr)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/make-the-comments-reply-section-smaller/#post-11701576)
 * Hi there,
    My bad, I forgot to mention, please add the custom css under Customize-
   >Additional CSS Then check your comment form.
 * Let me know if you need additional help on this.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Make the Comments/Reply section smaller’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/olsen-light/1.7.1/screenshot.png)
 * Olsen Light
 * [Support Threads](https://wordpress.org/support/theme/olsen-light/)
 * [Active Topics](https://wordpress.org/support/theme/olsen-light/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/olsen-light/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/olsen-light/reviews/)

## Tags

 * [Comments](https://wordpress.org/support/topic-tag/comments/)
 * [leave a reply](https://wordpress.org/support/topic-tag/leave-a-reply/)

 * 3 replies
 * 2 participants
 * Last reply from: [Fotis](https://wordpress.org/support/users/markwaregr/)
 * Last activity: [6 years, 11 months ago](https://wordpress.org/support/topic/make-the-comments-reply-section-smaller/#post-11701576)
 * Status: not resolved