Title: Nested Comments Does Not Work?
Last modified: August 19, 2016

---

# Nested Comments Does Not Work?

 *  Resolved [chaseman](https://wordpress.org/support/users/chaseman/)
 * (@chaseman)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/nested-comments-does-not-work/)
 * I have nested comments in the Wordpres settings activated it is supposed to go
   5 levels deep. But it will not work, the comments will simply show up one below
   the other all aligned to the left side, without the nested effect.
 * Could it be that I did something wrong on the CSS styling? I’ve double checked
   and I’m not using any width values or anything that will not make it not indent.

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

 *  [curtismchale](https://wordpress.org/support/users/curtismchale/)
 * (@curtismchale)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/nested-comments-does-not-work/#post-1980672)
 * Are they enabled with the special JS in the head of your document? Please provide
   a link to your site along with the name of the theme (and link to it) so we can
   check out the CSS.
 *  Thread Starter [chaseman](https://wordpress.org/support/users/chaseman/)
 * (@chaseman)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/nested-comments-does-not-work/#post-1980678)
 * I can not provide a link because it’s on my local server I’m developing a template
   right now.
 * I’ve not enabled any JavaScript, do I have to do it manually, if so, how can 
   I do it?
 * If you want specific parts of the CSS let me know and I’ll post them up.
 * If I would know where exactly in the WordPress files the li tags and the cite
   tags of the comments section are located I’d just remove them myself, I haven’t
   found them till yet.
 *  [curtismchale](https://wordpress.org/support/users/curtismchale/)
 * (@curtismchale)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/nested-comments-does-not-work/#post-1980688)
 * The styles for the comments (since that’s what we’re talking about). The JS (
   really PHP) needed for threaded comments in the header is below.
 *     ```
       <?php
               	/* We add some JavaScript to pages with the comment form
               	 * to support sites with threaded comments (when in use).
               	 */
               	if ( is_singular() && get_option( 'thread_comments' ) )
               		wp_enqueue_script( 'comment-reply' );
           	?>
       ```
   
 *  Thread Starter [chaseman](https://wordpress.org/support/users/chaseman/)
 * (@chaseman)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/nested-comments-does-not-work/#post-1980745)
 * I found what was causing this problem, I had this line in the CSS file:
 * `* { margin: 0; padding: 0; }`
 * When I comment that line out the nested comments are working, but a new problem
   comes up, now my whole design will look broken because suddenly everything has
   too much margin and is pushing everything off each other away.
 * Is there any way I still can have everything at default on 0 margin, but have
   the nested comments use their own margin? So they don’t clash with each other?
 *  [curtismchale](https://wordpress.org/support/users/curtismchale/)
 * (@curtismchale)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/nested-comments-does-not-work/#post-1980752)
 * Using the * CSS selector is really slow and not suggested at all. I’d use a different
   reset. You can see what I use [here](https://github.com/curtismchale/Comienzo/blob/master/assets/css/reset.css).
 * Ultimately you just need to get more specific with your CSS and add the margin/
   padding to the comment areas. Even if you’re using the * selector doing something
   like:
 * `#comment-div{margin:0 0 0 10px; padding:0 0 0 10px;}`
 * should work to override the * selector since it’s more specific and allow you
   to style the comments as needed.
 *  Thread Starter [chaseman](https://wordpress.org/support/users/chaseman/)
 * (@chaseman)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/nested-comments-does-not-work/#post-1980766)
 * Thank you, overriding solved it.

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

The topic ‘Nested Comments Does Not Work?’ is closed to new replies.

## Tags

 * [comments section](https://wordpress.org/support/topic-tag/comments-section/)
 * [css](https://wordpress.org/support/topic-tag/css/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 6 replies
 * 2 participants
 * Last reply from: [chaseman](https://wordpress.org/support/users/chaseman/)
 * Last activity: [15 years, 2 months ago](https://wordpress.org/support/topic/nested-comments-does-not-work/#post-1980766)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
