diff --git a/components/Current/ContentPage/contentPage.module.css b/components/Current/ContentPage/contentPage.module.css index c2d896457..2f26b11ab 100644 --- a/components/Current/ContentPage/contentPage.module.css +++ b/components/Current/ContentPage/contentPage.module.css @@ -1,7 +1,8 @@ .wrapper { + position: relative; background: #f3f2f1; display: block; padding-bottom: 50px; width: 100%; z-index: 10; -} \ No newline at end of file +} diff --git a/components/Current/Hero/hero.module.css b/components/Current/Hero/hero.module.css index ddd993fa6..c75c04f20 100644 --- a/components/Current/Hero/hero.module.css +++ b/components/Current/Hero/hero.module.css @@ -1,5 +1,5 @@ .wrapper { - z-index: 0; + z-index: -1; } .picture { @@ -24,3 +24,11 @@ aspect-ratio: auto; } } + +@media screen and (min-width: 950px) { + .wrapper { + overflow: hidden; + position: sticky; + top: 0px; + } +}