diff --git a/front-page.php b/front-page.php index 3e648d6..22d6f21 100644 --- a/front-page.php +++ b/front-page.php @@ -70,10 +70,10 @@ - - - Save Big On Gear at the Slowtwitch Shop > - + + + Buy and Sell Gear on Our Classifieds > + @@ -141,14 +141,177 @@ + endif; + wp_reset_postdata(); + ?> - + + + + + + + + + + Lifestyle > + 1, + 'category_name' => $section_category, + 'orderby' => 'post_date', + 'order' => 'DESC', + 'post_type' => 'post', + 'post_status' => 'publish' + ); + query_posts($post_section_three_featured_args); + if (have_posts()) : while (have_posts()) : the_post(); + $category = get_the_category()[0]; + $author = get_userdata( $post->post_author ); + ?> + + + + + name; ?> + + + + + + by display_name; ?>, + + + 5, + 'offset' => 1, + 'category_name' => $section_category, + 'orderby' => 'post_date', + 'order' => 'DESC', + 'post_type' => 'post', + 'post_status' => 'publish' + ); + query_posts($post_section_two_args); + ?>post_author ); + ?> + + + + + + + name; ?> + + + + + + + + + + + + Save Big On Gear at the Slowtwitch Shop > + + + + + + Buy and Sell Gear on Our Classifieds > + + + + + + + Opinion > + 1, + 'category_name' => $section_category, + 'orderby' => 'post_date', + 'order' => 'DESC', + 'post_type' => 'post', + 'post_status' => 'publish' + ); + query_posts($post_section_three_featured_args); + if (have_posts()) : while (have_posts()) : the_post(); + $category = get_the_category()[0]; + $author = get_userdata( $post->post_author ); + ?> + + + + + name; ?> + + + + + + by display_name; ?>, + + + 5, + 'offset' => 1, + 'category_name' => $section_category, + 'orderby' => 'post_date', + 'order' => 'DESC', + 'post_type' => 'post', + 'post_status' => 'publish' + ); + query_posts($post_section_two_args); + ?>post_author ); + ?> + + + + + + name; ?> + + + + + + + + + - diff --git a/style.css b/style.css index e910f02..c100c8d 100644 --- a/style.css +++ b/style.css @@ -57,6 +57,18 @@ h1 { } } +@media (min-width: 1200px) { + .st-site-title { + font-size: 11rem; + } +} + +@media (min-width: 1400px) { + .st-site-title { + font-size: 13.3rem; + } +} + /* ============================ LAYOUT @@ -416,34 +428,7 @@ SECTIONS justify-content: center; } -.st-ad-section-shop-card { - background-color: #FFDB12; - margin-top: 1em; - border-radius: 5px; - padding: .3em .5em; - padding-bottom: 0; - flex-direction: column; - display: flex; - justify-content: center; -} -.st-ad-section-shop-card__title { - display: flex; - justify-content: space-between; - font-size: 1.5rem; - letter-spacing: 1px; - margin-top: 0; -} - -.st-ad-section-shop-card-link { - text-decoration: none; - color: #414b4c; -} - -.st-ad-section-shop-card__img { - max-width: 100%; - margin-bottom: 0; -} @media (min-width: 760px) { .st-ad-section { @@ -635,3 +620,45 @@ COMPONENTS color: #454545; } +/* shop card */ + +.st-ad-section-shop-card, +.st-ad-section-classifieds-card { + background-color: #FFDB12; + margin-top: 1em; + border-radius: 5px; + padding: .3em .5em; + padding-bottom: 0; + flex-direction: column; + display: flex; + justify-content: center; +} + +.st-ad-section-shop-card__title, +.st-ad-section-classifieds-card__title { + display: flex; + justify-content: space-between; + font-size: 1.5rem; + letter-spacing: 1px; + margin-top: 0; +} + +.st-ad-section-shop-card-link, +.st-ad-section-classifieds-card-link { + text-decoration: none; + color: #414b4c; +} + +.st-ad-section-shop-card__img, +.st-ad-section-classifieds-card__img { + max-width: 100%; + margin-bottom: 0; +} + +.st-ad-section-classifieds-card { + background-color: #270BA1; +} + +.st-ad-section-classifieds-card__title { + color: white; +} \ No newline at end of file