Changeset 23717
- Timestamp:
- 03/15/2013 06:03:43 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/twentytwelve/inc/custom-header.php
r23711 r23717 22 22 $args = array( 23 23 // Text color and image (empty to use none). 24 'default-text-color' => ' 444',24 'default-text-color' => '515151', 25 25 'default-image' => '', 26 26 … … 48 48 49 49 /** 50 * Loads our special font CSS file. 51 * 52 * @since Twenty Twelve 1.2 53 * 54 * @return void 55 */ 56 function twentytwelve_custom_header_fonts() { 57 $font_url = twentytwelve_get_font_url(); 58 if ( ! empty( $font_url ) ) 59 wp_enqueue_style( 'twentytwelve-fonts', esc_url_raw( $font_url ), array(), null ); 60 } 61 add_action( 'admin_print_styles-appearance_page_custom-header', 'twentytwelve_custom_header_fonts' ); 62 63 /** 50 64 * Styles the header text displayed on the blog. 51 65 * 52 * get_header_textcolor() options: 444is default, hide text (returns 'blank'), or any hex value.66 * get_header_textcolor() options: 515151 is default, hide text (returns 'blank'), or any hex value. 53 67 * 54 68 * @since Twenty Twelve 1.0 … … 97 111 .appearance_page_custom-header #headimg { 98 112 border: none; 113 font-family: "Open Sans", Helvetica, Arial, sans-serif; 99 114 } 100 115 #headimg h1, 101 116 #headimg h2 { 102 line-height: 1. 6;117 line-height: 1.84615; 103 118 margin: 0; 104 119 padding: 0; 105 120 } 106 121 #headimg h1 { 107 font-size: 30px;122 font-size: 26px; 108 123 } 109 124 #headimg h1 a { … … 112 127 } 113 128 #headimg h1 a:hover { 114 color: #21759b ;129 color: #21759b !important; /* Has to override custom inline style. */ 115 130 } 116 131 #headimg h2 { 117 132 color: #757575; 118 font : normal 13px/1.8 "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", sans-serif;133 font-size: 13px; 119 134 margin-bottom: 24px; 120 135 }
Note: See TracChangeset
for help on using the changeset viewer.