From 6f551359f36f33025995cb9bf119c90df3e92fd2 Mon Sep 17 00:00:00 2001 From: Tom Robertshaw Date: Fri, 1 Jul 2022 14:47:42 +0100 Subject: [PATCH] Add global region at the bottom of the navigation Currently, it's not possible to add a widget to a global region within the header. The only available region is "header_bottom--global" which is in the header template so is on all pages but is actually outside of the
element. This region is useful for widgets that replace the navigation. --- CHANGELOG.md | 1 + templates/components/common/header.html | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index ba1af02784..162a53492f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Bump webpack-bundle-analyzer [#2229]https://github.com/bigcommerce/cornerstone/pull/2229 - Make screen reader say all errors then each error while tabbing. [#2230]https://github.com/bigcommerce/cornerstone/pull/2230 - Clarify customer order pagination. [#2241]https://github.com/bigcommerce/cornerstone/pull/2241 +- Add global region below the navigation in the header [#2231](https://github.com/bigcommerce/cornerstone/pull/2231) ## 6.5.0 (06-24-2022) - Category icons do not appear in Search Form [#2221]https://github.com/bigcommerce/cornerstone/pull/2221 diff --git a/templates/components/common/header.html b/templates/components/common/header.html index d2efa7169a..0dc9c8d8a9 100644 --- a/templates/components/common/header.html +++ b/templates/components/common/header.html @@ -28,6 +28,7 @@

+ {{{region name="header_navigation_bottom--global"}}}

{{{region name="header_bottom--global"}}} {{{region name="header_bottom"}}}