reduced top margin from search results container to bring it up
authorAnthony Talarico <talarico@gaslightmedia.com>
Fri, 20 Nov 2015 13:56:02 +0000 (08:56 -0500)
committerAnthony Talarico <talarico@gaslightmedia.com>
Fri, 20 Nov 2015 13:56:02 +0000 (08:56 -0500)
css/app.css
scss/_search.scss
search.php

index d91a7c3..942c917 100644 (file)
@@ -7419,7 +7419,7 @@ input[type="submit"].blogbutton {
     transform: rotate(45deg); }
 
 .search-results {
-  margin-top: -315px; }
+  margin-top: -375px; }
 
 .search-result-header {
   background: white;
index 7f46ac4..d1e2730 100644 (file)
@@ -51,7 +51,7 @@
 }
 // added stlying AnthonyT
 .search-results{
-    margin-top: -315px;
+    margin-top: -375px;
 }
 .search-result-header{
     background: white;
index 89d7e3f..f14f802 100644 (file)
@@ -19,7 +19,7 @@
            <?php } else { ?>
            <br><h2 class="search-result-header small-12 columns">Search Results for "<?php echo get_search_query(); ?>"</h2>
             <?php if(have_posts()) : while(have_posts()): the_post();?>
-                <?php if (is_search() && (isset($_GET['searchType']) && $_GET['searchType'] == 'blog') && ($post->post_type=='page')) continue; ?>
+                <?php if (is_search() && (isset($_GET['searchType']) && $_GET['searchType'] == 'post') && ($post->post_type=='page')) continue; ?>
             <div class="row content search-result-container">
                 <div class="small-11 small-centered columns">
                     <article id="<?php the_ID()?>" <?php post_class()?>>