Search result page h2 positioning fix
authorLaury GvR <laury@gaslightmedia.com>
Thu, 18 Jun 2015 16:13:09 +0000 (12:13 -0400)
committerLaury GvR <laury@gaslightmedia.com>
Thu, 18 Jun 2015 16:13:09 +0000 (12:13 -0400)
functions.php
search.php

index d890cc5..c6f2155 100755 (executable)
@@ -114,7 +114,7 @@ function GLM_get_header() {
     }
 }
 
-//<!-- Start of the Contextual/Highlight Search functions -->
+// Start of the Contextual/Highlight Search functions
 function mytheme_init() {
    remove_action('thematic_searchloop', 'thematic_search_loop');
 }
@@ -137,5 +137,5 @@ function mytheme_search_loop() {
 }
 
 add_action('thematic_searchloop', 'mytheme_search_loop');
-///<!-- End of the Contextual/Highlight Search functions -->
+// End of the Contextual/Highlight Search functions
 ?>
index 03ab183..163541e 100644 (file)
@@ -5,7 +5,7 @@
 <div class="row">
     
     <?php if (get_search_query()) { ?> <!-- This is to ensure empty search results are filtered. -->
-    <h2 class="search-result-header">Search Results for "<?php echo get_search_query(); ?>"</h2>
+    <h2 class="search-result-header small-12 columns">Search Results for "<?php echo get_search_query(); ?>"</h2>
         <div id="blog-posts-over" class="small-12 columns">
             <?php if(have_posts()): $i = 1; while (have_posts() && $i < 6) : the_post(); ?>
             <div class="content" id="blog-posts-container">
             <?php endif;?>
         </div>
     <?php } else { ?>
-        <h2> Please enter a term to be searched.</h2>
+        <h2 class="search-result-header small-12 columns"> Please enter a term to be searched.</h2>
     <?php } ?>
         <?php get_footer(); ?>