How do you disable page comments but keep inline comments enabled?
Asked by Anthony Wood:

Inline comments are great because you can discuss an issue and then resolve it.

Page comments (the ones at the bottom of the page) can't be resolved, so they are just always visible, even if they have been fully resolve.

For one of my spaces I want to prohibit the use of page comments but enable (and encourage) inline comments.

I can't work out how to do this. I can only disable/enable page and inline comments together.

Thanks in advance.


Answers:
author: Stephen Deutsch
body: One option would be to go to the space for which you want to hide the comments, then click on Space Tools, Layout, Stylesheet, and then add the following line:

```
#comments-section { display:none; }
```

comments: author: Bill Bailey
body: Love a white tape approach! ;-)


author: Anthony Wood
body: This works just fine for me. Thanks very much :-)

As a follow up question. Do you know how I can disable comments on a single page (rather than a whole space), but still keep inline comments enabled? I also have a need for this.


author: Stephen Deutsch
body: My suggestion would be to create a user macro with the following content:

```
## @noparams
<style>#comments-section { display:none; }</style>
```

Make sure that it's visible only for Confluence Administrators, call it something like "Disable Page Comments", key like "disable-page-comments", and then insert it into the page(s) for which you want to disable page comments.


author: Koosh Shah
body: Where do I find Space Tools \> Layout \> Stylesheet? I don't seem to have these options available. Is this a restriction issue perhaps?

![\[5b38c25225dbe580c6f8ac414416b093\]_Image 2019-02-18 at 3.49.34 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/46057i7E6FF12246215100/image-size/large?v=v2&px=999 "[5b38c25225dbe580c6f8ac414416b093]_Image 2019-02-18 at 3.49.34 PM.png")


author: Bill Bailey
body: Under the Look and Feel tab.


author: Koosh Shah
body: Yup went there and there is no regular Stylesheet. There is one for PDF Export Stylesheet which is not relevant.

Screenshot:

<https://cl.ly/4fa81b7313cd>

I think I just might have a different version of Confluence :(


author: Koosh Shah
body: [@Bill Bailey](/t5/user/viewprofilepage/user-id/502089) any idea? Do you think it has to do with different versions of Confluence?


author: Bill Bailey
body: Well the screenshot you added shows the Look and Feel tab. Is non-functional? What version are you using?


author: Koosh Shah
body: This is what I see:

![Image 2019-02-19 at 9.10.22 AM.png](https://community.atlassian.com/t5/image/serverpage/image-id/47175i64D56DEFDB089243/image-size/large?v=v2&px=999 "Image 2019-02-19 at 9.10.22 AM.png")No idea which version I am on.


author: Bill Bailey
body: OK, you don't have enough permissions. According to the latest docs:
>
> Note: By default, only system administrators can edit the CSS for a space or for the site. To allow any user with Space Admin permissions to edit the CSS for a space, go to \> General Configuration \> Security Configuration and select Custom Stylesheets for Spaces.
>
> [styling-confluence-with-css](https://confluence.atlassian.com/doc/styling-confluence-with-css-166528400.html)

<br />

So at a min, you need to be a Space admin and have the sys admin enable the permission.

You can find your Confluence version is typically displayed at the bottom of the page (above the Atlassian logo).


author: Dave Hulbert
body: This doesn't work on the cloud hosted version :-(

<https://support.atlassian.com/confluence-cloud/docs/functional-differences-in-confluence-cloud-vs-server/>

\> On Atlassian Cloud, Confluence uses a custom theme that can't be modified or updated using custom HTML or CSS.

Any workarounds here?


author: Chris Iacovelli
body: Is there any way to do this for a set of pages within a space and not the whole space? I would like to prohibit some pages and not others on one of many spaces i have.

Thoughts/Ideas would be appreciated.


author: Irina_Bel_Stiltsoft_
body: Hi [@Anthony Wood](/t5/user/viewprofilepage/user-id/1195350) ,

Once you disable Comments permissions on a space level, users aren't able to leave both inline and page comments within this space. However, a workaround might be found in the [Talk - Advanced Inline Comments](https://marketplace.atlassian.com/apps/978531/talk-advanced-inline-comments?tab=overview&hosting=datacenter) app. Once you disable Comments permission to disable the comment section on a page, you can leave inline comments (talks) with our app. You only need Pages or Comments permissions to leave them.

![2021-12-08_20-25-06.png](https://community.atlassian.com/t5/image/serverpage/image-id/172903i1226163B8E192D17/image-size/large?v=v2&px=999 "2021-12-08_20-25-06.png")

Moreover, with our app, you can restrict viewing for the talks on a space level or/and for the specific comment thread. Say, you want your comments to be visible only internally. You can set space permissions for the comments only for a group or/and users who can view them. However, any user who can make comments can change restrictions for specific comment threads.

![image (27).png](https://community.atlassian.com/t5/image/serverpage/image-id/172904iB0F3DF42E58A06EA/image-size/large?v=v2&px=999 "image (27).png")


author: Patrick Cartier [Candylio]
body: There is no out of the box functionality that allows you to disable comments while enabling inline comments. Unfortunately comments and inline comments are all under one permission "add comment".

This plugin allows disabling comments on certain pages, but I'm not sure about inline comments: <https://marketplace.atlassian.com/plugins/de.scandio.confluence.plugins.hideelements-macro/server/overview?_ga=2.167233470.1408681685.1520821806-2024476247.1511688550>


Tags: comment