From: Laury GvR Date: Wed, 1 Apr 2015 17:06:32 +0000 (-0400) Subject: Front page blocks using events, news. Styled. X-Git-Tag: v1.0.0^2~21 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=6a5d2b894d7572120fef03aa182d4a379e3d6d45;p=WP-Themes%2Fgilmoremuseum.git Front page blocks using events, news. Styled. --- diff --git a/front-page.php b/front-page.php index 9377851..518c72b 100644 --- a/front-page.php +++ b/front-page.php @@ -26,6 +26,28 @@

News

+ 3); + $lastposts = get_posts( $args ); + foreach($lastposts as $post) : setup_postdata($post); ?> +
+
+

ID); ?>

+ +
+
+ +
+
+ +
+ + + +

Upcoming Events

-

Pint with the Past
Saturday, February 14th
7:00pm - 10:00pm

-

Under the Hood
February 27, 2015 - March 1, 2015
Open during regular GCM hours

-

Cars and Canvas
Sunday, March 15th
2:00pm - 6:00pm

+

@@ -56,7 +77,7 @@
-
+ +
+
diff --git a/scss/_structure.scss b/scss/_structure.scss index 717f189..bbbc41d 100644 --- a/scss/_structure.scss +++ b/scss/_structure.scss @@ -525,6 +525,15 @@ slider .metaslider img, height: inherit - 50px; p { padding: 10px 10px 0; + font-size: 14px; + } + .title-posts { + font-weight: bold; + color: black; + } + > div { + padding: 10px 10px 0; + min-height: 60px; } } .block-button {