fixing the show more problem with the about section on the county landing pages
authorAnthony Talarico <talarico@gaslightmedia.com>
Thu, 14 Feb 2019 17:03:58 +0000 (12:03 -0500)
committerAnthony Talarico <talarico@gaslightmedia.com>
Thu, 14 Feb 2019 17:03:58 +0000 (12:03 -0500)
css/app.css
scss/_main.scss
sections/county-landing-page.php

index 28ff7e9..a6a7ce5 100644 (file)
@@ -6861,9 +6861,9 @@ body .cr__load-more-container.cr__clearfix {
   transition: all 0.5s ease; }
   #county-content-expand-section.expanded {
     display: inherit;
-    max-height: 0;
+    max-height: unset;
     overflow: inherit;
-    box-shadow: 0;
+    box-shadow: none;
     transition: all 0.5s ease; }
 
 #county-content-expand-button {
index 198fec3..4ec655b 100644 (file)
@@ -251,9 +251,9 @@ body .cr__load-more-container.cr__clearfix{
     transition: all 0.5s ease;
     &.expanded {
         display: inherit;
-        max-height: 0;
+        max-height: unset;
         overflow: inherit;
-        box-shadow: 0;
+        box-shadow: none;
         transition: all 0.5s ease;
     }
 }
index 710c349..b940cd2 100644 (file)
@@ -33,8 +33,8 @@
         <?php } ?>
     </div>
 </div>
-<div class="row">
-    <div class="small-12 large-8 columns county-landing-page-content-container">
+<div class="row" data-equalizer>
+    <div class="small-12 large-8 columns county-landing-page-content-container" data-equalizer-watch>
         <?php if ( wp_get_post_parent_id( $post ) == COUNTIES_PAGE_ID ) { ?>
             <?php // if this is a county landing page, wrap content in expandable area, with member list below it ?>
             <div id="county-content-expand-section">
@@ -44,7 +44,7 @@
             
         <?php } ?>
     </div>
-    <div class="small-12 medium-4 columns county-landing-page-events-container">
+    <div class="small-12 medium-4 columns county-landing-page-events-container" data-equalizer-watch>
         <?php
             if ( !isset($GLOBALS['glmDetailSlug']) || !$GLOBALS['glmDetailSlug'] ) {
                 $memberRegion = false; // If not on a member detail page, return events from all regions