fixing block image sizes in functions file
authorAnthony Talarico <talarico@gaslightmedia.com>
Wed, 18 Oct 2017 15:14:22 +0000 (11:14 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Wed, 18 Oct 2017 15:14:22 +0000 (11:14 -0400)
adjusting the block image sizes in the functions file

css/app.css
functions.php
scss/plugins/_blocks.scss

index 658bfdb..1d1e378 100644 (file)
@@ -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; } }
index 1b26701..1fa07ce 100644 (file)
@@ -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' );
index f27f86f..9e1ed58 100644 (file)
         }
     }
     #block-1,#block-4{
-        max-height: 275px;
+        max-height: 290px;
     }
     #block2,#block-3{
-        max-height: 225px;
+        max-height: 230px;
     }
     #block-4{
         @media #{$large-up}{