From 6a5d2b894d7572120fef03aa182d4a379e3d6d45 Mon Sep 17 00:00:00 2001 From: Laury GvR Date: Wed, 1 Apr 2015 13:06:32 -0400 Subject: [PATCH] Front page blocks using events, news. Styled. --- front-page.php | 36 ++++++++++++++++++++++++++++++------ scss/_structure.scss | 9 +++++++++ 2 files changed, 39 insertions(+), 6 deletions(-) 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 { -- 2.17.1