twentyfourteen_admin_header_style

Style the header image displayed on the Appearance > Header screen.

Description

twentyfourteen_admin_header_style(); 

Usage

  1. if ( !function_exists( 'twentyfourteen_admin_header_style' ) ) { 
  2. require_once '/inc/custom-header.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = twentyfourteen_admin_header_style(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/inc/custom-header.php  
  1. function twentyfourteen_admin_header_style() { 
  2. ?> 
  3. <style type="text/css" id="twentyfourteen-admin-header-css"> 
  4. .appearance_page_custom-header #headimg { 
  5. background-color: #000; 
  6. border: none; 
  7. max-width: 1260px; 
  8. min-height: 48px; 
  9. #headimg h1 { 
  10. font-family: Lato, sans-serif; 
  11. font-size: 18px; 
  12. line-height: 48px; 
  13. margin: 0 0 0 30px; 
  14. #headimg h1 a { 
  15. color: #fff; 
  16. text-decoration: none; 
  17. #headimg img { 
  18. vertical-align: middle; 
  19. </style> 
  20. <?php