From 7bfa33ce9c3a6c50e64f291dd18c258a9829c1c1 Mon Sep 17 00:00:00 2001 From: Laury GvR Date: Tue, 9 Feb 2016 15:43:03 -0500 Subject: [PATCH] Faulty CSS specificity, content-wrapper changed to page-wrapper for featured styles --- scss/_page.header.scss | 13 +++++++++++-- scss/_topbar.scss | 10 ---------- 2 files changed, 11 insertions(+), 12 deletions(-) diff --git a/scss/_page.header.scss b/scss/_page.header.scss index 1080a55..04e2a8a 100644 --- a/scss/_page.header.scss +++ b/scss/_page.header.scss @@ -192,11 +192,20 @@ header { margin-top: 110px; } } - +/* Featured image styles */ @media (min-width: 1024px) { .featured-container { max-height: 520px; overflow: hidden; margin-top: 130px; } -} \ No newline at end of file +} +#page-wrapper .featured-image { + height: 520px; + @media #{$medium-only} { + height: 360px; + } + @media #{$small-only} { + height: 200px; + } +} diff --git a/scss/_topbar.scss b/scss/_topbar.scss index 42f8b3a..b117008 100644 --- a/scss/_topbar.scss +++ b/scss/_topbar.scss @@ -322,13 +322,3 @@ //.offCanvasLinks{ // width: 89%; //} - -#content-wrapper .featured-image { - height: 520px; - @media #{$medium-only} { - height: 360px; - } - @media #{$small-only} { - height: 200px; - } -} -- 2.17.1