Make WordPress Core

Ticket #30057: 30057.1.diff

File 30057.1.diff, 1.2 KB (added by iamtakashi, 10 years ago)

Updated patch from the root. Remove inherited bottom margin.

  • wp-content/themes/twentyfifteen/header.php

     
    3030                <header id="masthead" class="site-header" role="banner">
    3131                        <div class="site-branding">
    3232                                <h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
    33                                 <h2 class="site-description"><?php bloginfo( 'description' ); ?></h2>
     33                                <p class="site-description"><?php bloginfo( 'description' ); ?></p>
    3434                                <button class="secondary-toggle"><?php esc_html_e( 'Menu and widgets', 'twentyfifteen' ); ?></button>
    3535                        </div><!-- .site-branding -->
    3636                </header><!-- .site-header -->
  • wp-content/themes/twentyfifteen/style.css

     
    13041304        font-size: 1.2rem;
    13051305        font-weight: 400;
    13061306        line-height: 1.5;
    1307         margin-top: 0.5em;
     1307        margin: 0.5em 0 0;
    13081308        opacity: 0.7;
    13091309}
    13101310