Last active
August 29, 2015 14:02
-
-
Save arielk/c6b2006183ec0f4eac74 to your computer and use it in GitHub Desktop.
Titanium Child Theme - 100% Width
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<nav id="nav-main"> | |
<div class="container"> | |
<div class="navbar-collapse collapse" role="navigation" > | |
<?php if ( has_nav_menu( 'primary' ) ) : ?> | |
<?php wp_nav_menu( array( 'theme_location' => 'primary', 'container' => false, 'menu_class' => 'sf-menu hidden-xs', 'walker' => new Pojo_Navbar_Nav_Walker() ) ); | |
wp_nav_menu( array( 'theme_location' => has_nav_menu( 'primary_mobile' ) ? 'primary_mobile' : 'primary', 'container' => false, 'menu_class' => 'mobile-menu visible-xs', 'walker' => new Pojo_Navbar_Nav_Walker() ) ); ?> | |
<?php else : ?> | |
<mark class="menu-no-found"><?php printf( __( 'Please setup Menu <a href="%s">here</a>', 'pojo' ), admin_url( 'nav-menus.php?action=locations' ) ); ?></mark> | |
<?php endif; ?> | |
</div> | |
<div class="menu-search hidden-xs"> | |
<div class="click-search"><i class="fa fa-search"></i></div> | |
<?php get_search_form(); ?> | |
</div> | |
</div><!---container---> | |
</nav><!--/#nav-menu --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#container { | |
max-width: 100%; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment