From: Laury GvR Date: Tue, 5 Nov 2019 13:55:08 +0000 (-0500) Subject: Adjust height of default product detail page images X-Git-Tag: v1.0.0^2~7 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=f810a0ce130b2c418b9dc77ffa8ceec08edfce09;p=WP-Themes%2Ffinewinejourneys.git Adjust height of default product detail page images --- diff --git a/functions.php b/functions.php index 59933ab..d746c10 100644 --- a/functions.php +++ b/functions.php @@ -235,7 +235,7 @@ function glm_get_header() { } else { $featured_image_url = $image_data[0]; } - echo ' style="background-image: url('.$featured_image_url.');padding:0;padding-bottom:20%;background-position:center center;background-size: cover;background-repeat:no-repeat;max-height: 370px "'; + echo ' style="background-image: url('.$featured_image_url.');padding:0;padding-bottom:16%;background-position:center center;background-size: cover;background-repeat:no-repeat;max-height: 300px "'; } else if ( is_product_category() ){