changed no featured background size to cover
authorAnthony Talarico <talarico@gaslightmedia.com>
Fri, 19 Feb 2016 21:07:28 +0000 (16:07 -0500)
committerAnthony Talarico <talarico@gaslightmedia.com>
Fri, 19 Feb 2016 21:07:28 +0000 (16:07 -0500)
front-page.php
functions.php

index 1737c44..3cca0eb 100644 (file)
@@ -36,8 +36,8 @@
             <div class="small-12 medium-4 columns small-text-center action-item">
                 <a><img src="<?php bloginfo('template_url'); ?>/assets/email-signup.jpg"></a>
             </div>
-            <div class="small--12 columns small-center text-center">
-                <a id="big-lens"><h1>#DiscoverKZoo</h1></a>
+            <div class="small-12 columns small-center text-center">
+                <a href="http://discoverkzoo.discoverkalamazoo.com" id="big-lens"><h1>#DiscoverKZoo</h1></a>
             </div>
         </div>
     </div>
index 96b0206..4452850 100644 (file)
@@ -102,7 +102,7 @@ function glm_get_header() {
             $image_data = wp_get_attachment_image_src(get_post_thumbnail_id(), "full");
             echo ' style="background-image: url('.$image_data[0].');height:300px;padding:0;padding-bottom:300px;background-position:center center;background-size: 100% 100%;background-repeat:no-repeat;max-height: 300px; "';
     } else {
-            echo ' style="background-image: url('.get_template_directory_uri().'/assets/stay.jpg);height:300px;padding:0;padding-bottom:300px;background-position:center center;background-size: 100% 100%;background-repeat:no-repeat;max-height: 300px;"';
+            echo ' style="background-image: url('.get_template_directory_uri().'/assets/stay.jpg);height:300px;padding:0;padding-bottom:300px;background-position:center center;background-size: cover;background-repeat:no-repeat;max-height: 300px;"';
             echo ' class="no-featured"';
     }
     echo '>';