From f810a0ce130b2c418b9dc77ffa8ceec08edfce09 Mon Sep 17 00:00:00 2001 From: Laury GvR Date: Tue, 5 Nov 2019 08:55:08 -0500 Subject: [PATCH] Adjust height of default product detail page images --- functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() ){ -- 2.17.1