From 7e95fcfdf40dac489f3ae7fa038ac30b465821e5 Mon Sep 17 00:00:00 2001 From: Laury GvR Date: Tue, 13 Jan 2015 13:30:47 -0500 Subject: [PATCH] Featured image inline styling --- page.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/page.php b/page.php index 216fc92..b659096 100755 --- a/page.php +++ b/page.php @@ -5,7 +5,7 @@ ID), "full"); - echo ' style="background: url('.$image_data[0].'); min-height: '.$image_data[2].'px;max-height: 400px; "'; + echo ' style="background: url('.$image_data[0].'); height: '.$image_data[2].'px;max-height: 400px; background-size: cover; "'; } else { echo ' style="display: none;"'; -- 2.17.1