Adjust height of default product detail page images
authorLaury GvR <laury@gaslightmedia.com>
Tue, 5 Nov 2019 13:55:08 +0000 (08:55 -0500)
committerLaury GvR <laury@gaslightmedia.com>
Tue, 5 Nov 2019 13:55:08 +0000 (08:55 -0500)
functions.php

index 59933ab..d746c10 100644 (file)
@@ -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() ){