🐞 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() )
|
||||
: 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';
|
||||
}
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user