Hiding article comments with curly bars Follow

With this solution you can hide parts of Help Center articles, like the comments section, with a few simple lines of HTML.

In this example, we'll hide the comments section of the article page. This prevents you from having to select "Disable comments" every time you create a new article, and it will hide already existing article comments.

  1. Go to your Help Center and select General > Customize Design .
  2. On the left select Edit Theme to display your Theme editor.
  3. In the editor, select the Article page .
  4. The HTML you see in the article page might vary depending on your Theme and customizations. You will want to look for the Article comments curlybars on that page.
  5. Now all you need to do is add {{!-- before the <section for the comments, and --}} after the </section> for the comments. It should grey out all the text.

  6. Click the Preview button and watch your article comments disappear. You can use this trick for hiding anything in the article page. The Best practice for this is to put the {{!-- --}} before and after the open and close <section> tags. Hiding information like this allows you to see what is hidden, instead of removing code which can be confusing to find what is missing.

There you have it! Now you can hide things in your Help Center like a pro.

Have more questions? Submit a request


Please sign in to leave a comment.

Powered by Zendesk