[ad_1]
Hello,
i have turned off Comments on all static pages as most of them are simply needed documents (imprint, privacy polcy, etc), but it still shows “0 Comments” or in my case (german) “0 Kommentare”. I tried jQuery Selector to find the Class to it, it showed .h1#comments and #comment-wrap so i added
.h1#comments,.comments-wrap{display:none!important}
but it still showed up. Has anyone a better Idea on how to disable that showing up?
[ad_2]
You’re targeting a class called “.comments-wrap” and your console is showing the id “#comments-wrap”. Change to:
`.h1#comments, #comments-wrap {display:none !important;}`
Edit: This only hides the elements if you don’t need the comment section at all you can add a filter to remove comments completely.