diff --git a/src/core/css/webcaosdb.css b/src/core/css/webcaosdb.css
index 82de984244f9052fdac587490b02eda5eb6ad839..8fe10a153887a0c051846734a5a40cc195666f5b 100644
--- a/src/core/css/webcaosdb.css
+++ b/src/core/css/webcaosdb.css
@@ -285,6 +285,7 @@ h5 {
 
 .caosdb-label-id {
     margin-right: 0.3em;
+    display: none;
 }
 
 .caosdb-label-name {
diff --git a/src/core/js/webcaosdb.js b/src/core/js/webcaosdb.js
index 75bb27322bc70a690d23a95c85a50f4693a7c0d6..6d8971c044af8231dddb6c9d8f9b823262120ca9 100644
--- a/src/core/js/webcaosdb.js
+++ b/src/core/js/webcaosdb.js
@@ -4,8 +4,10 @@
  *
  * Copyright (C) 2018 Research Group Biomedical Physics,
  * Max-Planck-Institute for Dynamics and Self-Organization Göttingen
- * Copyright (C) 2019 IndiScale GmbH (info@indiscale.com)
- * Copyright (C) 2019 Timm Fitschen (t.fitschen@indiscale.com)
+ * Copyright (C) 2022 IndiScale GmbH <info@indiscale.com>
+ * Copyright (C) 2019 Timm Fitschen <t.fitschen@indiscale.com>
+ * Copyright (C) 2022 Florian Spreckelsen <f.spreckelsen@indiscale.com>
+ * Copyright (C) 2022 Daniel Hornung <d.hornung@indiscale.com>
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU Affero General Public License as
@@ -1961,7 +1963,11 @@ function initOnDocumentReady() {
     }
 
     if ("${BUILD_MODULE_SHOW_ID_IN_LABEL}" == "ENABLED") {
-        $('.caosdb-label-id').toggleClass('d-none');
+        // Remove the "display: none;" rule from the caosdb-label-id class
+        [...document.styleSheets]
+            .map(s => {return [...s.cssRules].find(x=> x.selectorText=='.caosdb-label-id')})
+            .filter(Boolean)
+            .forEach( rule => rule.style.removeProperty("display"));
     }
 }
 
diff --git a/src/core/xsl/entity.xsl b/src/core/xsl/entity.xsl
index 0c7b90d0f103221e2c8bf0a05e2c4333d536bab9..ab7979367d2f77204a1e0c2e8acd9d5810649911 100644
--- a/src/core/xsl/entity.xsl
+++ b/src/core/xsl/entity.xsl
@@ -5,6 +5,10 @@
  *
  * Copyright (C) 2018 Research Group Biomedical Physics,
  * Max-Planck-Institute for Dynamics and Self-Organization Göttingen
+ * Copyright (C) 2022 Indiscale GmbH <info@indiscale.com>
+ * Copyright (C) 2021 Timm Fitschen <t.fitschen@indiscale.com>
+ * Copyright (C) 2022 Florian Spreckelsen <f.spreckelsen@indiscale.com>
+ * Copyright (C) 2022 Daniel Hornung <d.hornung@indiscale.com>
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU Affero General Public License as
@@ -150,7 +154,7 @@
                 <xsl:attribute name="href">
                   <xsl:value-of select="concat($entitypath, @id)"/>
                 </xsl:attribute>
-                <span class="caosdb-label-id d-none"><xsl:value-of select="@id"/></span>
+                <span class="caosdb-label-id"><xsl:value-of select="@id"/></span>
                 <span class="caosdb-label-name">
                   <xsl:value-of select="@name"/>
                 </span>