<?php if ( is_front_page() ) : ?>
<?php if ( has_nav_menu( 'header' ) ): ?>
<nav class="nav-container group" id="nav-header">
<div class="nav-toggle"><i class="fa fa-bars"></i></div>
<div class="nav-text"><!-- put your mobile menu text here --></div>
<div class="nav-wrap container"><?php wp_nav_menu( array('theme_location' => 'header', 'menu_class' => 'nav group', 'container' => '', 'menu_id' => '', 'fallback_cb' => false) ); ?></div>
</nav><!--/#nav-header-->
<?php endif; ?>
<?php if ( has_nav_menu( 'subheader' ) ): ?>
<nav class="nav-container group" id="nav-subheader">
<div class="nav-toggle"><i class="fa fa-bars"></i></div>
<div class="nav-text"><!-- put your mobile menu text here --></div>
<div class="nav-wrap container"><?php wp_nav_menu( array('theme_location' => 'subheader', 'menu_class' => 'nav group', 'container' => '', 'menu_id' => '', 'fallback_cb' => false) ); ?></div>
</nav><!--/#nav-subheader-->
<?php endif; ?>
<?php endif; ?>