Changeset 23670
- Timestamp:
- 03/12/2013 04:52:30 PM (12 years ago)
- Location:
- trunk/wp-content/themes/twentythirteen
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/twentythirteen/inc/custom-header.php
r23642 r23670 97 97 .site-title, 98 98 .site-description { 99 position: absolute !important;99 position: absolute; 100 100 clip: rect(1px 1px 1px 1px); /* IE7 */ 101 101 clip: rect(1px, 1px, 1px, 1px); -
trunk/wp-content/themes/twentythirteen/js/theme-customizer.js
r23493 r23670 21 21 wp.customize( 'header_textcolor', function( value ) { 22 22 value.bind( function( to ) { 23 $( '.site-title, .site-description' ).css( 'color', to ); 23 if ( 'blank' == to ) { 24 if ( 'remove-header' == _wpCustomizeSettings.values.header_image ) 25 $( '#masthead hgroup' ).css( 'min-height', '0' ); 26 $( '.site-title, .site-description' ).css( { 27 'clip': 'rect(1px, 1px, 1px, 1px)', 28 'position': 'absolute' 29 } ); 30 } else { 31 $( '#masthead hgroup' ).css( 'min-height', '230px' ); 32 $( '.site-title, .site-description' ).css( { 33 'clip': 'auto', 34 'color': to, 35 'position': 'relative' 36 } ); 37 } 24 38 } ); 25 39 } );
Note: See TracChangeset
for help on using the changeset viewer.