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);