Removing the navigation.js file is done in functions, look for:
/*
* Adds JavaScript for handling the navigation menu hide-and-show behavior.
*/
wp_enqueue_script( 'twentytwelve-navigation', get_template_directory_uri() . '/js/navigation.js', array(), '1.0', true );
Either remove this or comment it out. This stops the mobile nav kicking in when on mobile device.
Header.php:
I removed the mobile meta tag:
<meta name="viewport" content="width=device-width" />
I also removed the mobile code where the html for the menu was, leaving just this:
<nav class="main-navigation" role="navigation">
<?php wp_nav_menu( array( 'theme_location' => 'primary', 'menu_class' => 'nav-menu' ) ); ?>
</nav><!-- #site-navigation -->
CSS was all that remained, so near the end where the media queries are, you want to change it to always show the full size:
@media screen and (min-width: 10px) {
.site {
margin: 0 auto;
width: 980px !important;
overflow: hidden;
}
There may be a few more minor edits, but I think that’s most. Worth a try and see how it is after you’ve done those, but my TwentyTwelve now is non-responsive and looks on mobile the same as desktop.
Hope this helps.
Phil