Changeset 23711
- Timestamp:
- 03/15/2013 04:42:10 PM (11 years ago)
- Location:
- trunk/wp-content/themes/twentytwelve
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/twentytwelve/inc/custom-header.php
r23572 r23711 70 70 .site-title, 71 71 .site-description { 72 position: absolute !important;72 position: absolute; 73 73 clip: rect(1px 1px 1px 1px); /* IE7 */ 74 74 clip: rect(1px, 1px, 1px, 1px); -
trunk/wp-content/themes/twentytwelve/js/theme-customizer.js
r23572 r23711 18 18 } ); 19 19 } ); 20 20 21 // Header text color 21 22 wp.customize( 'header_textcolor', function( value ) { 22 23 value.bind( function( to ) { 23 $( '.site-title a, .site-description' ).css( 'color', to ); 24 if ( 'blank' === to ) { 25 $( '.site-title, .site-title a, .site-description' ).css( { 26 'clip': 'rect(1px, 1px, 1px, 1px)', 27 'position': 'absolute' 28 } ); 29 } else { 30 $( '.site-title, .site-title a, .site-description' ).css( { 31 'clip': 'auto', 32 'color': to, 33 'position': 'relative' 34 } ); 35 } 24 36 } ); 25 37 } );
Note: See TracChangeset
for help on using the changeset viewer.