From: Laury GvR Date: Tue, 13 Jan 2015 18:30:47 +0000 (-0500) Subject: Featured image inline styling X-Git-Tag: v1.0.0~80 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=7e95fcfdf40dac489f3ae7fa038ac30b465821e5;p=WP-Themes%2FRecycleEmmet.git Featured image inline styling --- 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;"';