From 542c2607cec61e40e2ee52e52ebbaca386cc5913 Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Wed, 18 Oct 2017 11:14:22 -0400 Subject: [PATCH] fixing block image sizes in functions file adjusting the block image sizes in the functions file --- css/app.css | 4 ++-- functions.php | 4 ++-- scss/plugins/_blocks.scss | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/css/app.css b/css/app.css index 658bfdb..1d1e378 100644 --- a/css/app.css +++ b/css/app.css @@ -7318,9 +7318,9 @@ body .stButton .sharethis { float: none; margin-bottom: 15px; } } .blocks #block-1, .blocks #block-4 { - max-height: 275px; } + max-height: 290px; } .blocks #block2, .blocks #block-3 { - max-height: 225px; } + max-height: 230px; } @media only screen and (min-width:64.063em) { .blocks #block-4 { margin-top: -35px; } } diff --git a/functions.php b/functions.php index 1b26701..1fa07ce 100644 --- a/functions.php +++ b/functions.php @@ -112,8 +112,8 @@ function mytheme_init() { add_action('init', 'mytheme_init', 10); function wpse_setup_theme() { - add_image_size('glm-block-small', 475, 225,true); - add_image_size('glm-block-large', 475, 275,true); + add_image_size('glm-block-small', 475, 230,true); + add_image_size('glm-block-large', 475, 290,true); } add_action( 'after_setup_theme', 'wpse_setup_theme' ); diff --git a/scss/plugins/_blocks.scss b/scss/plugins/_blocks.scss index f27f86f..9e1ed58 100644 --- a/scss/plugins/_blocks.scss +++ b/scss/plugins/_blocks.scss @@ -26,10 +26,10 @@ } } #block-1,#block-4{ - max-height: 275px; + max-height: 290px; } #block2,#block-3{ - max-height: 225px; + max-height: 230px; } #block-4{ @media #{$large-up}{ -- 2.17.1