Make WordPress Core

Changeset 24073


Ignore:
Timestamp:
04/23/2013 09:29:00 PM (13 years ago)
Author:
lancewillett
Message:

Twenty Thirteen: fix case where title in author bio was indented when avatars were disabled in Discussion settings. Props obenland, fixes #24167.

Location:
trunk/wp-content/themes/twentythirteen
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentythirteen/author-bio.php

    r23680 r24073  
    1414        </div><!-- .author-avatar -->
    1515        <div class="author-description">
    16                 <h2><?php printf( __( 'About %s', 'twentythirteen' ), get_the_author() ); ?></h2>
    17                 <p>
     16                <h2 class="author-title"><?php printf( __( 'About %s', 'twentythirteen' ), get_the_author() ); ?></h2>
     17                <p class="author-bio">
    1818                        <?php the_author_meta( 'description' ); ?>
    1919                        <a class="author-link" href="<?php echo esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ); ?>" rel="author">
  • trunk/wp-content/themes/twentythirteen/rtl.css

    r24071 r24073  
    538538}
    539539
    540 .author-avatar {
     540.author-avatar .avatar {
    541541        float: right;
    542542        margin: 0 0 30px 30px;
  • trunk/wp-content/themes/twentythirteen/style.css

    r24072 r24073  
    20972097}
    20982098
    2099 .author-avatar {
     2099.author-avatar .avatar {
    21002100        float: left;
    21012101        margin: 0 30px 30px 0;
     
    21032103
    21042104.single-format-status .author-description,
    2105 .single-format-status .author-description h2,
    2106 .single-format-quote .author-description,
    2107 .single-format-quote .author-description h2 {
     2105.single-format-quote .author-description {
    21082106        color: #f7f5e7;
    21092107}
    21102108
    2111 .single-format-audio .author-description a,
    2112 .single-format-video .author-description a {
    2113         color: #fbfaf3;
    2114 }
    2115 
    2116 .author-description h2 {
     2109.author-description .author-title {
    21172110        clear: none;
    21182111        font: 300 italic 20px "Source Sans Pro", Helvetica, sans-serif;
Note: See TracChangeset for help on using the changeset viewer.