Make WordPress Core


Ignore:
Timestamp:
08/20/2012 06:35:33 PM (12 years ago)
Author:
lancewillett
Message:

Twenty Twelve: improve navigation to be mobile-first and not rely on JS for hiding and showing, props obenland for patches. See #21562.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentytwelve/header.php

    r21525 r21554  
    3737
    3838        <nav class="site-navigation main-navigation" role="navigation">
    39             <h3 class="assistive-text"><?php _e( 'Show navigation', 'twentytwelve' ); ?></h3>
     39            <h3 class="menu-toggle"><?php _e( 'Show navigation', 'twentytwelve' ); ?></h3>
    4040            <div class="skip-link assistive-text"><a href="#content" title="<?php esc_attr_e( 'Skip to content', 'twentytwelve' ); ?>"><?php _e( 'Skip to content', 'twentytwelve' ); ?></a></div>
    4141            <?php wp_nav_menu( array( 'theme_location' => 'primary' ) ); ?>
Note: See TracChangeset for help on using the changeset viewer.