Error message fix, small-12 classes to h2 search result titles.
authorLaury GvR <laury@gaslightmedia.com>
Thu, 18 Jun 2015 16:03:08 +0000 (12:03 -0400)
committerLaury GvR <laury@gaslightmedia.com>
Thu, 18 Jun 2015 16:03:08 +0000 (12:03 -0400)
root/page.php
root/search.php

index a7817a8..08044f2 100644 (file)
@@ -20,7 +20,7 @@
                         <?php if(have_posts()) : while(have_posts()): the_post();?>
                         <?php the_content();?>
                         <?php endwhile; else:?>
-                        <p><?php _e('Sorry, no posts yet');?></p>
+                        <p><?php _e('Sorry, no results found.');?></p>
                         <?php endif;?>
                 </div>
                 <div class="small-12 medium-6 large-4 columns small-text-center medium-text-left">
index 3fef015..e380968 100644 (file)
@@ -1,9 +1,9 @@
 <?php get_header(); ?>
 <main class="search-results">
     <?php if (get_search_query() == "") { ?>
-    <br><h2 class="search-result-header">Please enter a query in the search box. </h2>
+    <br><h2 class="search-result-header small-12 columns">Please enter a query in the search box. </h2>
     <?php } else { ?>
-    <br><h2 class="search-result-header">Search Results for "<?php echo get_search_query(); ?>"</h2>
+    <br><h2 class="search-result-header small-12 columns">Search Results for "<?php echo get_search_query(); ?>"</h2>
     <div class="row">
         <div id="blog-posts-over" class="small-12 medium-9 columns">
             <?php if(have_posts()) : while(have_posts()): the_post();?>