diff --git a/frappe/templates/includes/navbar/navbar_items.html b/frappe/templates/includes/navbar/navbar_items.html
index 3fd87c9b3f..10d484df65 100644
--- a/frappe/templates/includes/navbar/navbar_items.html
+++ b/frappe/templates/includes/navbar/navbar_items.html
@@ -1,23 +1,48 @@
-{% macro render_item(item, submenu=False) %}
+{% macro render_item(item, submenu=False, parent=False) %}
{% if item.child_items %}
+
+{% if parent %}
{% else %}
-
-
- {{ item.label }}
-
-
+
+{% endif %}
+
+{% else %}
+
+{% if parent %}
+
+
+ {{ item.label }}
+
+
+{% else %}
+
+ {{ item.label }}
+
+{% endif %}
+
{% endif %}
{% endmacro %}
@@ -25,7 +50,7 @@
{%- for item in top_bar_items -%}
{% if not item.parent_label and not item.right -%}
- {{ render_item(item) }}
+ {{ render_item(item, parent=True) }}
{%- endif -%}
{%- endfor %}
@@ -33,7 +58,7 @@
{%- for item in top_bar_items -%}
{% if not item.parent_label and item.right -%}
- {{ render_item(item) }}
+ {{ render_item(item, parent=True) }}
{%- endif -%}
{%- endfor %}
{% if not only_static %}