fix(header): adjust hero section display logic for non-front pages
fix(nav-aux): update padding for auxiliary navigation container
This commit is contained in:
+1
-1
@@ -51,7 +51,7 @@ $showHero = isServicesDescendant() && get_field( 'hero_style' ) === 'default';
|
||||
<?php
|
||||
if ( $showHero ) :
|
||||
get_template_part( 'views/partials/page-hero-services' );
|
||||
else :
|
||||
elseif ( ! is_front_page() ) :
|
||||
get_template_part( 'views/partials/page-hero' );
|
||||
endif;
|
||||
?>
|
||||
|
||||
@@ -22,7 +22,7 @@ $currentPageURL = home_url( $wp->request ) . '/';
|
||||
$profile = getFieldValue( 'social_media.profile_name' ) ? getFieldValue( 'social_media.profile_name' ) : ''
|
||||
?>
|
||||
|
||||
<div class="nav-aux__container hidden lg:block w-full py-0">
|
||||
<div class="nav-aux__container hidden lg:block w-full py-1">
|
||||
<div class="header__nav-aux container flex items-center justify-end gap-x-4 gap-y-0 flex-wrap text-white py-0">
|
||||
<nav class="nav-aux py-0" role="navigation" aria-label="Auxiliary navigation">
|
||||
<?php
|
||||
|
||||
Reference in New Issue
Block a user