Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Comments, trackbacks & pings (http://forum.bytesforall.com/forumdisplay.php?f=19)
-   -   [SOLVED] Wonky comment indent (http://forum.bytesforall.com/showthread.php?t=1093)

lctkw Apr 4, 2009 12:05 AM

[SOLVED] Wonky comment indent

I'm not sure if this was the intended effect, but my first-level replies (second-level comments) are indented too much to the right for my taste. I've tried editing it with this code, but no dice...
HTML Code:

ul.commentlist li ul.children li.depth-2 {
    margin: 10px 0 0 5px !important;

Interestingly, depth 3 onwards seems to be working fine (even without the !important)... How do I get my second level comments changed?

Flynn Apr 5, 2009 02:05 PM

Your code is correct, but it is not working because that specific 2nd level comment is an author comment which gets its own style

HTML Code:

ul.children div.bypostauthor {
margin:10px 0 0 30px;

I am not even sure if this ul.children div.bypostauthor is needed, will have to look through all the comments styling again. The first reply level (2nd overall comment level) used to be not indented at all to save horizontal space, in earlier theme versions but I changed this to have all sub level comments indented

Keep your style and reset the extra left margin for div.bypostauthor:
HTML Code:

ul.commentlist li ul.children li.depth-2 div.bypostauthor {
    margin-left: 0 !important;

All times are GMT -6. The time now is 02:25 PM.

Powered by vBulletin® Copyright ©2000 - 2022, Jelsoft Enterprises Ltd.