diff --git a/lib/registries/addon/components/hero-overlay/styles.scss b/lib/registries/addon/components/hero-overlay/styles.scss index bb54e3f9141..aa6c3e2a235 100644 --- a/lib/registries/addon/components/hero-overlay/styles.scss +++ b/lib/registries/addon/components/hero-overlay/styles.scss @@ -13,7 +13,7 @@ @include primary-color-bg; background: var(--hero-background-img-url); background-size: cover; - z-index: -1; /* should be in front of the ::before defined below */ + z-index: -1; display: block; } @@ -22,20 +22,6 @@ } } -:global(.with-custom-branding) .HeroOverlay { - &::before { - @include primary-color-bg; - display: block; - z-index: -2; /* behind the ::after image */ - } - - &::after { - opacity: 0.4; - filter: grayscale(1); - z-index: -1; - } -} - .AlignCenter { align-items: center; }