diff --git a/theme/themes/eea/extras/contentBox.less b/theme/themes/eea/extras/contentBox.less index 57b19989f9..6ae12b71c6 100644 --- a/theme/themes/eea/extras/contentBox.less +++ b/theme/themes/eea/extras/contentBox.less @@ -16,6 +16,7 @@ margin-right: -50vw; left: 50%; right: 50%; + z-index: @contentBoxBeforeZIndex; } .content-box { @@ -28,7 +29,6 @@ padding-top: @contentBoxContainerMarginTop; padding-bottom: @contentBoxContainerMarginBottom; position: relative; - z-index: @contentBoxContainerZIndex; } &.primary { diff --git a/theme/themes/eea/extras/contentBox.variables b/theme/themes/eea/extras/contentBox.variables index fa8b09ea19..be0166b787 100644 --- a/theme/themes/eea/extras/contentBox.variables +++ b/theme/themes/eea/extras/contentBox.variables @@ -8,6 +8,7 @@ @contentBoxBackgroundColor: @grey-1; @contentBoxNoBackground: transparent; @contentBoxColorInverted : inherit; +@contentBoxBeforeZIndex: -1; /* Themes */ @contentBoxBackgroundColorPrimary: @primaryColor;