Disabling Comments Should Hide The Comment Box, Not Tell me "Commenting is Disabled."

Avatar
  • updated
  • Answered
Any way to implement?
Pinned replies
Avatar
Vladimir Mullagaliyev co-founder
  • Answer
  • Answered
Hi, 
Add this code to your custom CSS:
.comment-disabled-label{display:none;}
Avatar
Vladimir Mullagaliyev co-founder
Quote from Mike Wentworth
Hey Vladmir,

The code works for the comment, but it still shoes the second module / box. See? 



I don't want it to show any other second white box. Just the original thread when comments are disabled.
HI,
We do not hide this part because:
1. Admins do replies through comments event if comments are disabled
2. Topic might has comments before it was disabled.

But if you still want to hide it, add this CSS:

.module.module-comments.commenting-disabled{display:none;}
Avatar
Mike Wentworth
Quote from Vladimir Mullagaliyev
Hi, 
Add this code to your custom CSS:
.comment-disabled-label{display:none;}
Hey Vladmir,

The code works for the comment, but it still shoes the second module / box. See? 



I don't want it to show any other second white box. Just the original thread when comments are disabled.
Avatar
Vladimir Mullagaliyev co-founder
  • Answer
  • Answered
Hi, 
Add this code to your custom CSS:
.comment-disabled-label{display:none;}