Ticket #23549: 23549.2.diff
File 23549.2.diff, 2.9 KB (added by , 11 years ago) |
---|
-
wp-content/themes/twentythirteen/style.css
810 810 811 811 .site-header a { 812 812 color: #141412; 813 text-decoration: none; 813 814 } 814 815 816 .site-header .site-title:hover { 817 text-decoration: underline; 818 } 819 815 820 .site-title { 816 821 font-size: 60px; 817 822 font-weight: bold; … … 987 992 z-index: 3; 988 993 } 989 994 990 .navbar-fixed #masthead .site-title a{995 .navbar-fixed #masthead .site-title { 991 996 color: #141412 !important; /* Must override custom header text color. */ 992 997 } 993 998 -
wp-content/themes/twentythirteen/js/theme-customizer.js
9 9 // Site title and description. 10 10 wp.customize( 'blogname', function( value ) { 11 11 value.bind( function( to ) { 12 $( '.site-title a' ).text( to );12 $( '.site-title' ).text( to ); 13 13 } ); 14 14 } ); 15 15 wp.customize( 'blogdescription', function( value ) { -
wp-content/themes/twentythirteen/header.php
39 39 <body <?php body_class(); ?>> 40 40 <div id="page" class="hfeed site"> 41 41 <header id="masthead" class="site-header" role="banner"> 42 <hgroup> 43 <h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1> 44 <h2 class="site-description"><?php bloginfo( 'description' ); ?></h2> 45 </hgroup> 42 <a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"> 43 <hgroup> 44 <h1 class="site-title"><?php bloginfo( 'name' ); ?></h1> 45 <h2 class="site-description"><?php bloginfo( 'description' ); ?></h2> 46 </hgroup> 47 </a> 46 48 47 49 <div id="navbar" class="navbar"> 48 50 <nav id="site-navigation" class="navigation main-navigation" role="navigation"> -
wp-content/themes/twentythirteen/inc/custom-header.php
112 112 // If the user has set a custom color for the text, use that. 113 113 elseif ( $text_color != get_theme_support( 'custom-header', 'default-text-color' ) ) : 114 114 ?> 115 .site-title a,115 .site-title, 116 116 .site-description { 117 117 color: #<?php echo esc_attr( $text_color ); ?> !important; 118 118 }