diff --git a/static/styles/portico/landing-page.scss b/static/styles/portico/landing-page.scss index a9018c4c00..c98bc3ec58 100644 --- a/static/styles/portico/landing-page.scss +++ b/static/styles/portico/landing-page.scss @@ -1298,13 +1298,13 @@ nav { opacity: 1; height: auto; visibility: visible; -} -.carousel.carousel-fade .carousel-inner .item.active.left, -.carousel.carousel-fade .carousel-inner .item.active.right { - left: 0; - opacity: 0; - z-index: 2; + &.left, + &.right { + left: 0; + opacity: 0; + z-index: 2; + } } .carousel.carousel-fade .carousel-inner .item.next.left,