Style changes for recipes front-end: using more width
authorLaury GvR <laury@gaslightmedia.com>
Thu, 11 Jun 2015 20:20:54 +0000 (16:20 -0400)
committerLaury GvR <laury@gaslightmedia.com>
Thu, 11 Jun 2015 20:20:54 +0000 (16:20 -0400)
scss/plugins/_recipe.scss
single.php

index 5e3ba02..fbe28e6 100644 (file)
@@ -47,3 +47,6 @@
 .wpurp-recipe-ingredient {
     list-style: outside none none !important
 }
+.wpurp-container {
+    max-width: 100% !important;
+}
\ No newline at end of file
index 4adc0be..e562c4c 100644 (file)
@@ -3,46 +3,43 @@
         <div class="row">
             <div id="blog-posts-over" class="small-12 medium-9 columns">
                 <?php if(have_posts()) : while(have_posts()): the_post();?>
-                
                 <div class="row">
                     <?php
                      get_template_part('parts/bread-crumbs');
                     ?>
                 </div> 
                 <div class="row blog-post-container">
-                    <div class="small-11 small-centered columns">
+                    <div class="small-12 small-centered columns">
                         <div class="row">
-                            <div class="small-12 columns">
-                                <article id="<?php the_ID()?>" <?php post_class()?>>
-                                    <?php echo the_content(); ?>
-                                    <footer class="entry-meta small-12 medium-6 medium-push-3 center">
-                                        <?php $post_categories = wp_get_post_categories( get_the_ID() );
-                                        $cats = array();
-                                        echo 'This entry was posted ';
-                                        if (has_category()) {
-                                            echo 'in ';
-                                            foreach($post_categories as $c){
-                                                $cat = get_category( $c );
-                                                $cats[] = array( 'name' => $cat->name, 'slug' => $cat->slug );
-                                                echo '<a rel="category" title="View all posts in '. $cat->name . ' " href="'. $cat->slug .'">'. $cat->name .'</a>, ';
-                                            }
+                            <article id="<?php the_ID()?>" <?php post_class()?>>
+                                <?php echo the_content(); ?>
+                                <footer class="entry-meta small-12 medium-6 medium-push-3 center">
+                                    <?php $post_categories = wp_get_post_categories( get_the_ID() );
+                                    $cats = array();
+                                    echo 'This entry was posted ';
+                                    if (has_category()) {
+                                        echo 'in ';
+                                        foreach($post_categories as $c){
+                                            $cat = get_category( $c );
+                                            $cats[] = array( 'name' => $cat->name, 'slug' => $cat->slug );
+                                            echo '<a rel="category" title="View all posts in '. $cat->name . ' " href="'. $cat->slug .'">'. $cat->name .'</a>, ';
                                         }
-                                        $post_tags = wp_get_post_tags( get_the_ID() );
-                                        $tags = array();
-                                        if (has_tag( )) {
-                                            echo ' and tagged ';
-                                            foreach($post_tags as $t){
-                                                $tag = get_tag( $t );
-                                                $tags[] = array( 'name' => $tag->name, 'slug' => $tag->slug );
-                                                echo '<a rel="category" title="View all posts in '. $tag->name . ' " href="'. $tag->slug .'">'. $tag->name .'</a>, ';
-                                            }
+                                    }
+                                    $post_tags = wp_get_post_tags( get_the_ID() );
+                                    $tags = array();
+                                    if (has_tag( )) {
+                                        echo ' and tagged ';
+                                        foreach($post_tags as $t){
+                                            $tag = get_tag( $t );
+                                            $tags[] = array( 'name' => $tag->name, 'slug' => $tag->slug );
+                                            echo '<a rel="category" title="View all posts in '. $tag->name . ' " href="'. $tag->slug .'">'. $tag->name .'</a>, ';
                                         }
-                                        echo ' on ';
-                                        echo ' <span class="meta date"> ' . the_time('F jS, Y') . '</span>';
-                                        ?>
-                                    </footer>
-                                </article>
-                            </div>
+                                    }
+                                    echo ' on ';
+                                    echo ' <span class="meta date"> ' . the_time('F jS, Y') . '</span>';
+                                    ?>
+                                </footer>
+                            </article>
                         </div>
                     </div>
                 </div>