Make WordPress Core


Ignore:
Timestamp:
04/22/2013 07:40:28 PM (13 years ago)
Author:
nacin
Message:

Add .displaying-header-text to the default themes, as the Custom Header page toggles this class. props obenland, fixes #24113.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentythirteen/inc/custom-header.php

    r24001 r24050  
    197197        <?php $style = ' style="color:#' . get_header_textcolor() . ';"'; ?>
    198198        <div class="hgroup">
    199             <h1><a id="name"<?php echo $style; ?> onclick="return false;" href="#"><?php bloginfo( 'name' ); ?></a></h1>
    200             <h2 id="desc"<?php echo $style; ?>><?php bloginfo( 'description' ); ?></h2>
     199            <h1 class="displaying-header-text"><a id="name"<?php echo $style; ?> onclick="return false;" href="#"><?php bloginfo( 'name' ); ?></a></h1>
     200            <h2 id="desc" class="displaying-header-text"<?php echo $style; ?>><?php bloginfo( 'description' ); ?></h2>
    201201        </div>
    202202    </div>
Note: See TracChangeset for help on using the changeset viewer.