From 9e74526e1a1f820c01ad7bb5c4373c715aec33c5 Mon Sep 17 00:00:00 2001 From: Laury GvR Date: Thu, 21 Mar 2019 12:11:47 -0400 Subject: [PATCH] Avoid repeating frontpage header image --- css/app.css | 4 +++- header.php | 2 +- scss/_page.header.scss | 2 ++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/css/app.css b/css/app.css index 55e8dd2..0fa2dcc 100644 --- a/css/app.css +++ b/css/app.css @@ -6855,7 +6855,9 @@ ul#sec-nav { .hero-image-container { width: 100%; padding-bottom: 55%; - background: url("../assets/2-and-7.jpg?v=1.0"); } + background: url("../assets/2-and-7.jpg?v=1.0"); + background-repeat: no-repeat; + background-size: cover; } video { width: 100%; diff --git a/header.php b/header.php index 7bbc9d9..ecb0ba2 100644 --- a/header.php +++ b/header.php @@ -4,7 +4,7 @@ <?php wp_title(); ?> - + diff --git a/scss/_page.header.scss b/scss/_page.header.scss index 0670517..200bb7b 100644 --- a/scss/_page.header.scss +++ b/scss/_page.header.scss @@ -218,6 +218,8 @@ ul#sec-nav { width: 100%; padding-bottom: 55%; background: url("../assets/2-and-7.jpg?v=1.0"); + background-repeat: no-repeat; + background-size: cover; } .hero-image { -- 2.17.1