diff --git a/CHANGELOG.md b/CHANGELOG.md
index fa2da0342f10310d282f32a75b28c47b95cb1255..6677594cbce4b67f2097d9b097c76b1ad2930692 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -14,6 +14,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
   the module documentation for more information.
 
 ### Changed (for changes in existing functionality)
+- The heading attributes datatype, path, checksum and size are now placed 
+  in a `details` html element.
 
 ### Deprecated (for soon-to-be removed features) 
 
diff --git a/src/core/css/webcaosdb.css b/src/core/css/webcaosdb.css
index c4329eb20c788acb933b6b9f8d4476019ece6df4..edabd9ea671bfac857199f23df3f951bec521ec4 100644
--- a/src/core/css/webcaosdb.css
+++ b/src/core/css/webcaosdb.css
@@ -708,3 +708,12 @@ footer {
     margin-left: 2ch;
     margin-right: 2ch;
 }
+
+details summary { 
+    cursor: pointer;
+    display: list-item;
+}
+
+details summary > * {
+    display: inline;
+}
diff --git a/src/core/xsl/entity.xsl b/src/core/xsl/entity.xsl
index e90b841e82eac361a397c53975e9b25cf0e5daf9..6605a81eca5d81aa146a8b5b9021fb1340982b86 100644
--- a/src/core/xsl/entity.xsl
+++ b/src/core/xsl/entity.xsl
@@ -175,9 +175,15 @@
         </div>
         <xsl:apply-templates mode="entity-heading-attributes" select="@description"/>
         <xsl:apply-templates mode="entity-heading-attributes-datatype" select="@datatype"/>
-        <xsl:apply-templates mode="entity-heading-attributes-path" select="@path"/>
-        <xsl:apply-templates mode="entity-heading-attributes" select="@*[not(contains('+checksum+cuid+id+name+description+datatype+path+',concat('+',name(),'+')))]"/>
-        <xsl:apply-templates mode="entity-heading-attributes-checksum" select="@checksum"/>
+        <xsl:apply-templates mode="entity-heading-attributes" select="@*[not(contains('+checksum+size+cuid+id+name+description+datatype+path+',concat('+',name(),'+')))]"/>
+        <xsl:if test="@*[contains('+path+checksum+size+',concat('+',name(),'+'))]">
+          <details>
+            <summary><small>File Details</small></summary>
+            <xsl:apply-templates mode="entity-heading-attributes-path" select="@path"/>
+            <xsl:apply-templates mode="entity-heading-attributes-checksum" select="@checksum"/>
+            <xsl:apply-templates mode="entity-heading-attributes" select="@size"/>
+          </details>
+        </xsl:if>
       </div>
       <xsl:apply-templates mode="entity-action-panel" select="."/>
       <div class="panel-body caosdb-entity-panel-body">