Make WordPress Core


Ignore:
Timestamp:
08/02/2012 07:12:11 PM (14 years ago)
Author:
lancewillett
Message:

Twenty Twelve: CSS and markup improvements for better child theme support, part 3. See #21379.

  • Add classes like .site and .site-content in addition to the set of IDs already present, making things much better for child themes to have more than one generic element like nav inside the content container.
  • Bump JS version after selector change.
  • Move image-attachment to post_class() output

More exhaustive notes in the ticket on each id and class change.

File:
1 edited

Legend:

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

    r21261 r21404  
    1010 */
    1111?>
    12         </div><!-- #main -->
     12        </div><!-- #main .wrapper -->
    1313        <footer id="colophon" role="contentinfo">
    1414                <div class="site-info">
    … …  
    1717                </div><!-- .site-info -->
    1818        </footer><!-- #colophon -->
    19 </div><!-- #page -->
     19</div><!-- #page .site -->
    2020
    2121<?php wp_footer(); ?>
Note: See TracChangeset for help on using the changeset viewer.