diff --git a/src/Elastic.Documentation.Site/Assets/styles.css b/src/Elastic.Documentation.Site/Assets/styles.css
index 19544e485..89e17cf43 100644
--- a/src/Elastic.Documentation.Site/Assets/styles.css
+++ b/src/Elastic.Documentation.Site/Assets/styles.css
@@ -108,8 +108,8 @@ body {
.sidebar {
.sidebar-nav {
- @apply sticky top-(--offset-top) overflow-y-auto;
- max-height: calc(100vh - var(--offset-top));
+ @apply sticky top-0 z-30 overflow-y-auto;
+ max-height: 100vh;
scrollbar-gutter: stable;
transition:
top 0.3s ease,
diff --git a/src/Elastic.Documentation.Site/Assets/web-components/NavigationSearch/NavigationSearch.tsx b/src/Elastic.Documentation.Site/Assets/web-components/NavigationSearch/NavigationSearch.tsx
index 621e63801..7db21cd79 100644
--- a/src/Elastic.Documentation.Site/Assets/web-components/NavigationSearch/NavigationSearch.tsx
+++ b/src/Elastic.Documentation.Site/Assets/web-components/NavigationSearch/NavigationSearch.tsx
@@ -138,7 +138,7 @@ export const NavigationSearch = () => {
diff --git a/src/Elastic.Documentation.Site/Layout/_AssemblerHeader.cshtml b/src/Elastic.Documentation.Site/Layout/_AssemblerHeader.cshtml
index 84b45bbff..a14cbeba1 100644
--- a/src/Elastic.Documentation.Site/Layout/_AssemblerHeader.cshtml
+++ b/src/Elastic.Documentation.Site/Layout/_AssemblerHeader.cshtml
@@ -3,8 +3,8 @@
@{
var elasticNavUrl = Model.Features.StagingElasticNavEnabled
- ? "https://stag-www.elastic.co/elastic-nav.js"
- : "https://www.elastic.co/elastic-nav.js";
+ ? "https://www-elastic-co-pr-3017.app.elstc.co/elastic-nav.js"
+ : "https://www-elastic-co-pr-3017.app.elstc.co/elastic-nav.js";
}
diff --git a/src/Elastic.Documentation.Site/Layout/_Header.cshtml b/src/Elastic.Documentation.Site/Layout/_Header.cshtml
new file mode 100644
index 000000000..d2df6201f
--- /dev/null
+++ b/src/Elastic.Documentation.Site/Layout/_Header.cshtml
@@ -0,0 +1,31 @@
+@inherits RazorSlice
+@if (Model.Features.PrimaryNavEnabled)
+{
+
+
+ @{
+ var elasticNavUrl = Model.Features.StagingElasticNavEnabled
+ ? "https://www-elastic-co-pr-3017.app.elstc.co/elastic-nav.js"
+ : "https://www-elastic-co-pr-3017.app.elstc.co/elastic-nav.js";
+ }
+
+
+ @await RenderPartialAsync(_SecondaryNav.Create(Model))
+}
+else
+{
+
+}