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;
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user