@media only screen and (max-width: 40em) {
.page-inside #content-wrapper ul#quick-sub_pages {
margin-bottom: 20px; } }
+ .page-inside #content-wrapper ul#quick-sub_pages .glm-img-wrap {
+ height: 290px;
+ overflow: hidden; }
.page-inside #content-wrapper .action-item {
margin: 70px 0; }
@media only screen and (max-width: 40em) {
</div>
<div id="content-wrapper">
<div class="row">
- <?php if(is_page(3714)){ ?>
- <div class="small-12 large-12 columns right">
-<?php } else { ?>
- <div class="small-12 large-8 columns right">
- <?php } ?>
+ <?php if(is_page(3714)){ ?>
+ <div class="small-12 large-12 columns right">
+ <?php } else { ?>
+ <div class="small-12 large-8 columns right">
+ <?php } ?>
<div class="row">
- <?php
- get_template_part('parts/bread-crumbs');
- ?>
+ <?php get_template_part('parts/bread-crumbs'); ?>
<div id="main-content" class="small-12 columns">
<?php if(have_posts()) : while(have_posts()): the_post();?>
<?php the_content();?>
</div>
</div>
<?php if(! (is_page(3714))){ ?>
- <?php get_sidebar(); ?>
- <?php } ?>
+ <?php get_sidebar(); ?>
+ <?php } ?>
<div class="small-12 columns small-center text-center">
<a id="big-lens"><h1>#DiscoverKZoo</h1></a>
</div>
<main class="page-inside">
<div class="feature-img">
<?php echo glm_get_header(); ?>
- </div>
+ </div>
<div id="content-wrapper">
- <div class="row">
+ <div class="row">
<div id="main-content" class="small-12 columns text-center">
<?php if(have_posts()) : while(have_posts()): the_post();?>
<?php the_content();?>
<?php foreach($images as $image){
$imageSrc = $image['full'];
}?>
- <li class="small-text-center medium-text-left landing-item"><a href="<?php echo get_permalink($child->ID); ?>"><img src="<?php echo $imageSrc; ?>" alt="featured-image"><h5><?php echo $child->post_title ?></h5></a></li>
+ <li class="small-text-center medium-text-left landing-item">
+ <a href="<?php echo get_permalink($child->ID); ?>">
+ <div class="glm-img-wrap">
+ <img src="<?php echo $imageSrc; ?>" alt="featured-image">
+ </div>
+ <h5><?php echo $child->post_title ?></h5>
+ </a>
+ </li>
<?php $imageSrc = null; ?>
<?php } ?>
<!--
</div>
</div>
</div>
-<?php get_footer(); ?>
\ No newline at end of file
+<?php get_footer(); ?>
@media #{$small-only} {
margin-bottom: 20px;
}
+ .glm-img-wrap {
+ height: 290px;
+ overflow: hidden;
+ }
}
.action-item {
margin: 70px 0;
}
#wpseo_sitemap #sitemap_posts ul li ul li small {
font-size: 100% !important;
-}
\ No newline at end of file
+}