diff --git a/files/templates/util/html_head.html b/files/templates/util/html_head.html
index e30cdf664..8d191a2be 100644
--- a/files/templates/util/html_head.html
+++ b/files/templates/util/html_head.html
@@ -114,13 +114,14 @@
{% endif %}
- {% if (v.css or v.background) and not request.path.startswith('/settings') %}
-
- {% endif %}
{% if v.themecolor == '30409f' %}
{% endif %}
{% endif %}
+
+ {% if (v.css or v.background) and not request.path.startswith('/settings') %}
+
+ {% endif %}
{% else %}
{% endif %}