diff --git a/src/registrar/templates/includes/header_extended.html b/src/registrar/templates/includes/header_extended.html
index 1b98235f3..d00c57e38 100644
--- a/src/registrar/templates/includes/header_extended.html
+++ b/src/registrar/templates/includes/header_extended.html
@@ -12,6 +12,29 @@
+
+
+ -
+ {% if user.is_authenticated %}
+ {{ user.email }}
+
+ {% if has_profile_feature_flag %}
+ -
+ {% url 'user-profile' as user_profile_url %}
+ {% url 'finish-user-profile-setup' as finish_setup_url %}
+
+ Your profile
+
+
+ {% endif %}
+ -
+ Sign out
+ {% else %}
+ Sign in
+ {% endif %}
+
+
+
-
{% if has_domains_portfolio_permission %}
@@ -52,29 +75,6 @@
-
-
- -
- {% if user.is_authenticated %}
- {{ user.email }}
-
- {% if has_profile_feature_flag %}
- -
- {% url 'user-profile' as user_profile_url %}
- {% url 'finish-user-profile-setup' as finish_setup_url %}
-
- Your profile
-
-
- {% endif %}
- -
- Sign out
- {% else %}
- Sign in
- {% endif %}
-
-
-
{% endblock %}