Multi-blocks-friendly styling. Most not hard-coded
authorLaury GvR <laury@gaslightmedia.com>
Tue, 14 Oct 2014 18:41:42 +0000 (14:41 -0400)
committerLaury GvR <laury@gaslightmedia.com>
Tue, 14 Oct 2014 18:41:42 +0000 (14:41 -0400)
css/app.css
front-page.php
scss/site/_structure.scss

index 1039f98..613587a 100644 (file)
@@ -13908,9 +13908,7 @@ article h2 {
 .homepage_testimonials_text {
   padding: 25px 10px;
   overflow: hidden;
-  height: 100%; }
-
-.homepage_testimonials_text p {
+  height: 100%;
   text-decoration: none;
   color: white; }
 
@@ -13937,11 +13935,20 @@ article h2 {
 #homepage_gallery {
   text-align: center; }
 
+.ngg-galleryoverview {
+  padding: 20px; }
+
 .ngg-gallery-thumbnail-box {
   margin: 5px 0 !important; }
 
+.ngg-gallery-thumbnail {
+  float: none !important; }
+
 .ngg-gallery-thumbnail img {
-  padding: 0 !important; }
+  padding: 0 !important;
+  margin-left: auto !important;
+  margin-right: auto !important;
+  float: none; }
 
 /**
      * 4.2 Posts
index efcf08b..377ed35 100644 (file)
@@ -65,56 +65,26 @@ get_header(); ?>
                     </div> <!--Market Experts -->
                     <div id="homepage_portfolio" class="row"> 
                         <h1 class="home_section_title">Portfolio of Results</h1>
-                        <p>
-                            Nestium numquam, conest, to comnis est, illes venitibus milit um! 
-                        </p>
-                        <div id="homepage_gallery_1" class="gallery">
-                                <!-- php echo do_shortcode('[ngg_images album_ids="1" '
-                                    . 'display_type="photocrati-nextgen_basic_thumbnails"]');
-                                -->
-                                <!--
-                                $gallery = get_post_meta($post->ID, 'gid', true);
-                                $gal = $gallery;
-                                $gal = apply_filters('the_content', '[gallery='.$gal.']' );
-                                echo $gal;
-                                -->
-                            
-                        </div>
-                    </div> <!-- Portfolio -->
-                    <div id="home_gallery_column">
                         <?php the_block( 'Gallery Column'); ?>
-                    </div>
+                    </div> <!-- Portfolio -->
                     <div id="homepage_testimonials" class="row">
-                        
 <!--                        <a href="#">-->
-                            <div class="small-2 medium-1 columns homepage_testimonials_larrow">
-                                <div class="homepage_testimonials_over">
-                                </div>    
-                            </div>
+                        <div class="small-2 medium-1 columns homepage_testimonials_larrow">
+                            <div class="homepage_testimonials_over">
+                            </div>    
+                        </div>
 <!--                        </a>-->
                         <div class="small-8 medium-10 columns homepage_testimonials_text">
 <!--                            <a href="#">-->
-                                <p id="testimonial1">
-                                    Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do
-                                    eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim 
-                                    ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut 
-                                    aliquip ex ea commodo consequat. Duis aute irure dolor in 
-                                    reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla 
-                                    pariatur. Excepteur sint occaecat cupidatat non proident, sunt in 
-                                    culpa qui officia deserunt mollit anim id est.
-                                </p>
-                                <p id="testimonial2">
-                                    A testimonial resplendent in fabulosity.
-                                </p>
-                                <p id="testimonial3">
-                                    Net or valta vailë lingwë, ná hos sáma luhta. Tuo tundo tellaurë ré. 
-                                    É nulda atalantëa arantyalmë írë, huo ai vírë heri valinor, an ela 
-                                    pahta mornië métima. Pica astar tumna írë be, fernë amaurëa mac up. 
-                                    Hón sú tenna ontani alahasta, ría ya lissë nahamna arnanor. Ter sá 
-                                    engwa naitya, ëa tuc aman línë lenca. Lú laicë silma ela, heri fernë
-                                    tië sá. Nimba silninquita tuc uë, oa mir yávë metta. Ep oio yára 
-                                    avamarwa, nar ta ilca nahamna leryalehtya. Rer mí hísië vaina leryalehtya.
-                                </p>
+                                <div id="testimonial1">
+                                    <?php the_block( 'Homepage Testimonial 1 Block');?>
+                                </div>
+                                <div id="testimonial2">
+                                    <?php the_block( 'Homepage Testimonial 2 Block');?>
+                                </div>
+                                <div id="testimonial3">
+                                    <?php the_block( 'Homepage Testimonial 3 Block');?>
+                                </div>
 <!--                            </a>-->
                         </div>
 <!--                        <a href="#">-->
@@ -125,10 +95,7 @@ get_header(); ?>
 <!--                        </a>-->
                     </div>
                     <div id="homepage_problem_solvers" class="row">
-                        <h1 class="home_section_title">Problem Solvers</h1>
-                        <p>É nulda atalantëa arantyalmë írë, huo ai vírë heri valinor, an ela pahta 
-                            mornië métima. Pica astar tumna írë be, fernë amaurëa mac up.
-                        </p>
+                        <?php the_block('Homepage Problem Solvers Block'); ?>
                     </div> <!-- Problem Solvers -->
                     <?php the_content(); ?>
                 </div>
index ca4b093..5f0ffb0 100644 (file)
@@ -500,8 +500,6 @@ article h2 {
         padding: 25px 10px;
         overflow: hidden;
         height: 100%;
-    }
-    .homepage_testimonials_text p { 
         text-decoration: none;
         color: white;
     }
@@ -529,11 +527,20 @@ article h2 {
     #homepage_gallery {
         text-align:center;
     }
+    .ngg-galleryoverview {
+        padding: 20px;
+    }
     .ngg-gallery-thumbnail-box {
         margin: 5px 0 !important;
     }
+    .ngg-gallery-thumbnail {
+        float: none !important;
+    }
     .ngg-gallery-thumbnail img {
         padding: 0 !important;
+        margin-left: auto !important;
+        margin-right: auto !important;
+        float: none;
     }