Customization to hide highlight pop-ups (inline comment and Jira macro) on Confluence DC
Platform Notice: Data Center - This article applies to Atlassian products on the Data Center platform.
Note that this knowledge base article was created for the Data Center version of the product. Data Center knowledge base articles for non-Data Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
This is a customization is for informational purposes and is not eligible for support from Atlassian. If you have any questions about the information on this page, please reach out to our Atlassian Community for help.
Purpose
Hide the pop-up with options to add a new "inline comment" or create a new "Jira issue" when selecting a text on a page.
Solution
Based on the How to hide elements in Confluence using CSS or JavaScript we can use the following CSS code on Global or Space level to hide the pop-up that appears when selecting a text in Confluence.