Changeset 21508
- Timestamp:
- 08/14/2012 07:24:36 PM (12 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/css/wp-admin.dev.css
r21461 r21508 4609 4609 .appearance_page_custom-header #headimg { 4610 4610 border: 1px solid #DFDFDF; 4611 overflow: hidden; 4611 4612 width: 100%; 4612 4613 } -
trunk/wp-admin/custom-header.php
r21502 r21508 511 511 call_user_func( $this->admin_image_div_callback ); 512 512 } else { 513 $custom_header = get_custom_header(); 514 $header_image_style = 'background-image:url(' . esc_url( get_header_image() ) . ');'; 515 if ( $custom_header->width ) 516 $header_image_style .= 'max-width:' . $custom_header->width . 'px;'; 517 if ( $custom_header->height ) 518 $header_image_style .= 'height:' . $custom_header->height . 'px;'; 513 519 ?> 514 <div id="headimg" style=" background-image:url(<?php esc_url ( header_image() ) ?>);max-width:<?php echo get_custom_header()->width; ?>px;height:<?php echo get_custom_header()->height; ?>px;">520 <div id="headimg" style="<?php echo $header_image_style; ?>"> 515 521 <?php 516 522 if ( display_header_text() )
Note: See TracChangeset
for help on using the changeset viewer.