WordPress.org

Ready to get started?Download WordPress

Forums

Increase indent of inline comment reply? (5 posts)

  1. digitaltoast
    Member
    Posted 5 years ago #

    Bit of a newb, have managed to finally get a theme I like working OK with 2.7 and inline commenting etc (only took me two days!)

    However, although it IS indenting the inline comment replies, the indent is only a few pixels, and the css in the theme is so different from the default CSS that I really have drawn a blank (and oh, how I've tried!).

    So, rather than

    Comment
    .Reply
    ..Reply

    I'd like it to be

    Comment
    ...Reply
    ......Reply

    Any pointers would be greatly appreciated. Thanks!

  2. tugbucket
    Member
    Posted 5 years ago #

    You have a link to the page in question?

  3. digitaltoast
    Member
    Posted 5 years ago #

    Yes - http://www.rgpc.co.uk/test/blog/posts/#comments

    It's a version of http://wpdemo.livingos.com/ which has been messed around with by a couple of people to make it wider, and now me to get 2.7 compatibility (the author doesn't seem interested, which is fine - I need the learning space!)

    It's just the indented comments now (yes, I know there's a couple of layout niggles elsewhere, but I think I can fix them)

  4. tugbucket
    Member
    Posted 5 years ago #

    Try this. Change:

    .children li{
    	margin:0;
    	padding:0;
    	border: none;
    	padding-left: 1em;
    }

    to this:

    .children li, .reply{
    	margin:0;
    	padding:0;
    	border: none;
    	padding-left: 2em;
    }
    .children li ul {
    padding-left: 2em;
    }
    
    .children li div .reply {
    padding-left: 4em;
    }

    I don't know how the structure will be when there are multiple replies to one comment, so add that code and then add some more replies and we'll go from there.

  5. digitaltoast
    Member
    Posted 5 years ago #

    Perfect - thanks SO much, tugbucket!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags