diff --git a/e107_handlers/comment_class.php b/e107_handlers/comment_class.php index 8e6ad791b..4a9b9562f 100644 --- a/e107_handlers/comment_class.php +++ b/e107_handlers/comment_class.php @@ -1173,11 +1173,11 @@ class comment if($text) { //XXX Do NOT add to template - too important to allow for modification. - $text = ""; + $text = ""; } else { - $text = ""; + $text = ""; } diff --git a/e107_themes/voux/style.css b/e107_themes/voux/style.css index dab1202b9..f94e8c79b 100644 --- a/e107_themes/voux/style.css +++ b/e107_themes/voux/style.css @@ -491,8 +491,8 @@ div.comments-form-login div { padding-bottom:10px } .pager { margin-bottom: 40px; } img.news-image-1 { margin-bottom:15px } -#comments-container li { padding:20px 8px } -#comments-container li:nth-child(even) { background-color: #F8F8F8; } +.comments-container li { padding:20px 8px } +.comments-container li:nth-child(even) { background-color: #F8F8F8; } .signup-xup { width:64px; height:64px; margin:0 5px; padding:12px; } .signup-xup i { font-size: 3em; } diff --git a/e107_web/css/e107.css b/e107_web/css/e107.css index 1eba46522..07a590d03 100644 --- a/e107_web/css/e107.css +++ b/e107_web/css/e107.css @@ -142,8 +142,8 @@ h1.bbcode, h2.bbcode, h3.bbcode, h4.bbcode, h5.bbcode, h6.bbcode { }/* override div.bbcode { margin: 15px 0px; clear: both; } /* layout control via bbcodes */ -#comments-container { list-style: none outside none; margin:0px } -#comments-container > li { padding: 5px 0px } +.comments-container { list-style: none outside none; margin:0px } +.comments-container > li { padding: 5px 0px } .comment-text { padding: 8px 0 } .e-email:before { content: attr(data-user); } @@ -256,7 +256,7 @@ div.e-comment-edit-save { margin-top:8px; padding: 5px } .e-rate-down img { opacity: 0.4 } /* -#comments-container .comment-box:nth-child(even) { +.comments-container .comment-box:nth-child(even) { background: red; } */