From 942d851b02f758fc8a881b0a3d47d51180b8203c Mon Sep 17 00:00:00 2001 From: Aadil Ayub Date: Thu, 13 Jun 2024 13:37:48 +0500 Subject: [PATCH] adjust spacing on front page on mobile --- assets/css/custom.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/assets/css/custom.css b/assets/css/custom.css index 261d882..3404e1a 100644 --- a/assets/css/custom.css +++ b/assets/css/custom.css @@ -66,4 +66,11 @@ ul.wp-block-navigation.mobile-header-nav li { .site-footer a:hover, .site-footer a:focus { text-decoration: underline; +} + +/* fixing padding for certain elements on front page */ +@media (max-width: 480px) { + body { + --wp--preset--spacing--80: 2.5rem + } } \ No newline at end of file