Make WordPress Core

Ticket #24114: 24114.diff

File 24114.diff, 3.0 KB (added by obenland, 10 years ago)
  • wp-content/themes/twentythirteen/header.php

     
    4040        <div id="page" class="hfeed site">
    4141                <header id="masthead" class="site-header" role="banner">
    4242                        <a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home">
    43                                 <hgroup>
     43                                <div class="hgroup">
    4444                                        <h1 class="site-title"><?php bloginfo( 'name' ); ?></h1>
    4545                                        <h2 class="site-description"><?php bloginfo( 'description' ); ?></h2>
    46                                 </hgroup>
     46                                </div>
    4747                        </a>
    4848
    4949                        <div id="navbar" class="navbar">
  • wp-content/themes/twentythirteen/js/theme-customizer.js

     
    2222                value.bind( function( to ) {
    2323                        if ( 'blank' == to ) {
    2424                                if ( 'remove-header' == _wpCustomizeSettings.values.header_image )
    25                                         $( '#masthead hgroup' ).css( 'min-height', '0' );
     25                                        $( '#masthead .hgroup' ).css( 'min-height', '0' );
    2626                                $( '.site-title, .site-description' ).css( {
    2727                                        'clip': 'rect(1px, 1px, 1px, 1px)',
    2828                                        'position': 'absolute'
    2929                                } );
    3030                        } else {
    31                                 $( '#masthead hgroup' ).css( 'min-height', '230px' );
     31                                $( '#masthead .hgroup' ).css( 'min-height', '230px' );
    3232                                $( '.site-title, .site-description' ).css( {
    3333                                        'clip': 'auto',
    3434                                        'color': to,
  • wp-content/themes/twentythirteen/inc/custom-header.php

     
    103103        <?php
    104104                        if ( empty( $header_image ) ) :
    105105        ?>
    106                 .site-header hgroup {
     106                .site-header .hgroup {
    107107                        min-height: 0;
    108108                }
    109109        <?php
  • wp-content/themes/twentythirteen/css/ie.css

     
    3434        left: 100%;
    3535}
    3636
    37 .site-header hgroup {
     37.site-header .hgroup {
    3838        max-width: 1040px;
    3939}
    4040
  • wp-content/themes/twentythirteen/style.css

     
    7070figure,
    7171footer,
    7272header,
    73 hgroup,
    7473nav,
    7574section,
    7675summary {
     
    807806        position: relative;
    808807}
    809808
    810 .site-header hgroup {
     809.site-header .hgroup {
    811810        margin: 0 auto;
    812811        max-width: 1080px;
    813812        padding: 0 20px;
     
    32603259                background-image: none !important;
    32613260        }
    32623261
    3263         .site-header hgroup {
     3262        .site-header .hgroup {
    32643263                min-height: 0;
    32653264                max-width: none;
    32663265        }