From c8fb3bf50febe2860763d433933870c4f5d83f03 Mon Sep 17 00:00:00 2001 From: Antoine M Date: Fri, 27 Oct 2023 14:21:28 +0200 Subject: [PATCH] updating news templating --- template-news.php => template-archive-news.php | 6 +++--- template-components/news-heading-box.css | 7 +++++-- 2 files changed, 8 insertions(+), 5 deletions(-) rename template-news.php => template-archive-news.php (91%) diff --git a/template-news.php b/template-archive-news.php similarity index 91% rename from template-news.php rename to template-archive-news.php index caaf00c..7b1cbcb 100644 --- a/template-news.php +++ b/template-archive-news.php @@ -1,15 +1,15 @@ - '_wp_page_template', - 'meta_value' => "template-news.php" + 'meta_value' => "template-archive-news.php" ); $relatedPageTemplatePage = get_pages($args) ? get_pages($args)[0] : null; $pageIcon = get_field('page_icon', get_queried_object_id()) ?? null; ?> -
+
diff --git a/template-components/news-heading-box.css b/template-components/news-heading-box.css index 1905247..da19d84 100644 --- a/template-components/news-heading-box.css +++ b/template-components/news-heading-box.css @@ -12,7 +12,7 @@ flex-nowrap justify-between; .post-infos-capsule { - @apply mt-4; + @apply mt-8; } &__type { @apply uppercase font-medium text-xl tracking-widest; @@ -32,7 +32,10 @@ } &__thumbnail { - @apply w-80 h-56 object-cover rounded-3xl; + @apply w-80 h-56 object-cover + rounded-3xl + hidden + lg:block; flex-shrink: 2; }