diff --git a/layouts/404.html b/layouts/404.html
index 1779ff0197..23bfbdda54 100644
--- a/layouts/404.html
+++ b/layouts/404.html
@@ -20,10 +20,13 @@
-
{{- with .Site.Params.themeVariant }}
{{- end }}
+
+ {{- range .Site.Params.custom_css }}
+
+ {{- end }}