- Timestamp:
- 11/25/2014 02:46:13 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyfifteen/inc/custom-header.php
r30327 r30564 90 90 <style type="text/css" id="twentyfifteen-header-css"> 91 91 <?php 92 // Short header for when there is no Custom Header and Header Text is hidden. 93 if ( empty( $header_image ) && ! display_header_text() ) : 94 ?> 95 .site-header { 96 padding-top: 14px; 97 padding-bottom: 14px; 98 } 99 100 .site-branding { 101 min-height: 42px; 102 } 103 104 @media screen and (min-width: 46.25em) { 105 .site-header { 106 padding-top: 21px; 107 padding-bottom: 21px; 108 } 109 .site-branding { 110 min-height: 56px; 111 } 112 } 113 @media screen and (min-width: 55em) { 114 .site-header { 115 padding-top: 25px; 116 padding-bottom: 25px; 117 } 118 .site-branding { 119 min-height: 62px; 120 } 121 } 122 @media screen and (min-width: 59.6875em) { 123 .site-header { 124 padding-top: 0; 125 padding-bottom: 0; 126 } 127 .site-branding { 128 min-height: 0; 129 } 130 } 131 <?php 132 endif; 133 134 // Has a Custom Header been added? 92 135 if ( ! empty( $header_image ) ) : 93 136 ?>
Note: See TracChangeset
for help on using the changeset viewer.