Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7000321
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T20:39:20+00:00 2026-05-27T20:39:20+00:00

I am having some trouble working on a wordpress theme. I am styling the

  • 0

I am having some trouble working on a wordpress theme.

I am styling the Comments with CSS to look like this image below, you can see that the List items <li>comment stuff</li> have 3 DIVs inside them for an Avatar user image, an Arrow image connecting the comment and Avatar, and a DIV for the comment itself.

The trouble I am having is the Child comments, they are like <ul class="child"><li></li></ul> Nested Child UL list that is INSIDE my comments main list item.

So in the image below you get an idea how the comment list should look like, then you see the RED box I have drawn around the Child comments, you can see that they are nested inside the main comment box.

I need to somehow get these child comments outside of the main comment box so that each child comment can have it’s own box.

I cannot figure out how to accomplish this as the child comments remain NESTED, I only can change the CSS for that.

Ideally I would like to make the child comments look exactly like the main comments except they will be indented more underneath the main comments.

If you have any ideas how to do this I could really use the help, I have a Dabblet (just like JSFiddle but cooler for CSS) page here with the code in question http://dabblet.com/gist/1555382

enter image description here

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T20:39:21+00:00Added an answer on May 27, 2026 at 8:39 pm

    If for some reason you need to leave threaded comments on, you could start by styling the comment box instead of the list item:

    .commentlist > li.comment {
        position: relative;
        width: 400px;
    }
    
    .c-body {
        padding: 9px;
        border-image: initial;
        margin: 20px 0 30px 0;
        -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
        -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
        -webkit-border-radius: 6px 6px 6px 6px;
        -moz-border-radius: 6px 6px 6px 6px;
        border-radius: 6px 6px 6px 6px;
        background-color: white;
    }
    

    That should get you part of the way, and from there you can style the child comments however you like.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am having some trouble getting this working: $(#cloud1).live(mouseenter, function() { $(this).append('<div class=cloud1><img src=http://mercury-consulting.theportlandco.com/wp-content/uploads/2010/10/1.png
I'm having some trouble working this one out... any suggestions would be very welcome.
I'm having some trouble getting this to work in a WPF app I'm working
I'm having trouble finding the right pathfinding algorithm for some AI I'm working on.
Im having some trouble writing a getstring function, this is what I have so
I'm having an issue with a WordPress theme project I'm working on (the theme
I'm having some trouble working with libraries and included xib files. Let me explain
I'm having some trouble translating my working C# regular expression into JavaScript's regular expression
I'm having some trouble getting the Bake feature of CakePHP 2.0 working.. I think
I am working on a class library and am having some trouble with generics.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.