From 02a8379de2944840dd22b31435610d22073ec862 Mon Sep 17 00:00:00 2001 From: Keith Solomon Date: Sat, 25 Jul 2026 10:42:57 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20fix:=20Update=20styles=20and=20f?= =?UTF-8?q?ooter=20spacing?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- footer.php | 6 +++++- static/dist/theme.css | 5 +++-- views/blocks/services-list/services-list.css | 2 +- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/footer.php b/footer.php index bd75d0d..45e0d27 100644 --- a/footer.php +++ b/footer.php @@ -20,7 +20,11 @@ $footerNav = ! empty( $locations['footer_navigation'] ) ? ( wp_get_nav_menu_items( (int) $locations['footer_navigation'] ) ? wp_get_nav_menu_items( (int) $locations['footer_navigation'] ) : array() ) : array(); -if ( ! is_page( 'contact' ) ) { +$services = get_page_by_path( 'services' )->ID; + +$svcChild = $post->post_parent === $services ? true : false; + +if ( ! is_page( 'contact' ) && ! $svcChild ) { $marginClass = 'mt-20'; } ?> diff --git a/static/dist/theme.css b/static/dist/theme.css index 4feb296..dbd509e 100644 --- a/static/dist/theme.css +++ b/static/dist/theme.css @@ -37,6 +37,7 @@ --font-weight-medium: 500; --font-weight-semibold: 600; --font-weight-bold: 700; + --font-weight-black: 900; --leading-tight: 1.25; --leading-snug: 1.375; --leading-relaxed: 1.625; @@ -5710,8 +5711,8 @@ a.contact-info__value:hover { font-size: var(--text-24px); --tw-leading: 1; line-height: 1; - --tw-font-weight: var(--font-weight-bold); - font-weight: var(--font-weight-bold); + --tw-font-weight: var(--font-weight-black); + font-weight: var(--font-weight-black); color: var(--color-cwc-blue-01); &::after { background: var(--color-secondary); diff --git a/views/blocks/services-list/services-list.css b/views/blocks/services-list/services-list.css index f2ccc92..f90c83a 100644 --- a/views/blocks/services-list/services-list.css +++ b/views/blocks/services-list/services-list.css @@ -36,7 +36,7 @@ } .services-list__heading { - @apply text-cwc-blue-01 text-24px font-bold leading-none mt-6 mb-4; + @apply text-cwc-blue-01 text-24px font-black leading-none mt-6 mb-4; &::after { background: var(--color-secondary);