Add class to add margin between search results
authorSteve Sutton <steve@gaslightmedia.com>
Wed, 25 Mar 2015 17:41:35 +0000 (13:41 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Wed, 25 Mar 2015 17:41:35 +0000 (13:41 -0400)
search.php

index ad8b712..76d0990 100644 (file)
                 <h2 class="search-result-header">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="row">
+                        <div class="row blog-posts-container">
                             <div class="small-12 columns content">
                                 <article id="<?php the_ID()?>" <?php post_class()?>>
                                     <h2 class="">Page: <a href="<?php the_permalink(); ?>"><?php the_title();?></a></h2>
                                     <hr />
                                     <?php the_post_thumbnail(); ?>
-                                    <?php echo the_advanced_excerpt('length=200&length_type=words&no_custom=1&ellipsis=%26hellip;'); ?>
+                                    <?php echo the_advanced_excerpt('length=50&length_type=words&no_custom=1&ellipsis=%26hellip;'); ?>
                                     <div class="entry-meta small-12 medium-6 medium-push-3 center">
                                         <?php $post_categories = wp_get_post_categories( get_the_ID() );
                                         $cats = array();