From d841e13609c7dd960990ac9708594a0e6a801504 Mon Sep 17 00:00:00 2001 From: Aadil Ayub Date: Tue, 9 Jul 2024 16:56:11 +0500 Subject: [PATCH] tweak blog page on mobile --- assets/css/custom.css | 6 ++++-- patterns/page-blog.php | 18 +++++++++--------- 2 files changed, 13 insertions(+), 11 deletions(-) diff --git a/assets/css/custom.css b/assets/css/custom.css index fad416e..d87c596 100644 --- a/assets/css/custom.css +++ b/assets/css/custom.css @@ -65,8 +65,10 @@ ul.wp-block-navigation.mobile-header-nav li { } /* style blog posts */ -.home-post-item { - height: 100% +@media (min-width: 1280px) { + .home-post-item { + height: 100% + } } /* Removing default underline for most links */ diff --git a/patterns/page-blog.php b/patterns/page-blog.php index c014c19..1fb5f06 100644 --- a/patterns/page-blog.php +++ b/patterns/page-blog.php @@ -17,19 +17,19 @@
- -
+ +
- +
- -
+ +
@@ -47,12 +47,12 @@
-
-
+
+
- -
+ +