🐞 fix: Update styles and footer spacing
This commit is contained in:
+5
-1
@@ -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() )
|
? ( wp_get_nav_menu_items( (int) $locations['footer_navigation'] ) ? wp_get_nav_menu_items( (int) $locations['footer_navigation'] ) : array() )
|
||||||
: 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';
|
$marginClass = 'mt-20';
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|||||||
Vendored
+3
-2
@@ -37,6 +37,7 @@
|
|||||||
--font-weight-medium: 500;
|
--font-weight-medium: 500;
|
||||||
--font-weight-semibold: 600;
|
--font-weight-semibold: 600;
|
||||||
--font-weight-bold: 700;
|
--font-weight-bold: 700;
|
||||||
|
--font-weight-black: 900;
|
||||||
--leading-tight: 1.25;
|
--leading-tight: 1.25;
|
||||||
--leading-snug: 1.375;
|
--leading-snug: 1.375;
|
||||||
--leading-relaxed: 1.625;
|
--leading-relaxed: 1.625;
|
||||||
@@ -5710,8 +5711,8 @@ a.contact-info__value:hover {
|
|||||||
font-size: var(--text-24px);
|
font-size: var(--text-24px);
|
||||||
--tw-leading: 1;
|
--tw-leading: 1;
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
--tw-font-weight: var(--font-weight-bold);
|
--tw-font-weight: var(--font-weight-black);
|
||||||
font-weight: var(--font-weight-bold);
|
font-weight: var(--font-weight-black);
|
||||||
color: var(--color-cwc-blue-01);
|
color: var(--color-cwc-blue-01);
|
||||||
&::after {
|
&::after {
|
||||||
background: var(--color-secondary);
|
background: var(--color-secondary);
|
||||||
|
|||||||
@@ -36,7 +36,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.services-list__heading {
|
.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 {
|
&::after {
|
||||||
background: var(--color-secondary);
|
background: var(--color-secondary);
|
||||||
|
|||||||
Reference in New Issue
Block a user