You appear to be a bot. Output may be restricted
Description
Styles the header image and text displayed on the blog
Usage
twentyfourteen_header_style();
Parameters
Returns
void
Source
File name: twentyfourteen/inc/custom-header.php
Lines:
1 to 32 of 32
function twentyfourteen_header_style() { $text_color = get_header_textcolor(); // If no custom color for text is set, let's bail. if ( display_header_text() && get_theme_support( 'custom-header', 'default-text-color' ) === $text_color ) { return; } // If we get this far, we have custom styles. ?> <style type="text/css" id="twentyfourteen-header-css"> <?php // Has the text been hidden? if ( ! display_header_text() ) : ?> .site-title, .site-description { clip: rect(1px 1px 1px 1px); /* IE7 */ clip: rect(1px, 1px, 1px, 1px); position: absolute; } <?php // If the user has set a custom color for the text, use that. elseif ( get_theme_support( 'custom-header', 'default-text-color' ) != $text_color ) : ?> .site-title a { color: #<?php echo esc_attr( $text_color ); ?>; } <?php endif; ?> </style> <?php }