public_html/wp-content/themes/LocalTwo/inc/custom-header.php
/**
	 * Styles the header image and text displayed on the blog
	 *
	 * @see divertheme_custom_header_setup().
	 */
Styles the header image and text displayed on the blog
@see divertheme_custom_header_setup().
Styles the header image and text displayed on the blog @see divertheme_custom_header_setup () .
function divertheme_header_style() {
		$header_text_color = get_header_textcolor();
		if ( HEADER_TEXTCOLOR == $header_text_color ) {
			return;
		}
		?>
		<style type="text/css">
			<?php
								if ( 'blank' == $header_text_color ) :
			?>
			.site-title,
			.site-description {
				position: absolute;
				clip: rect(1px, 1px, 1px, 1px);
			}
			<?php
				else :
			?>
			.site-title a,
			.site-description {
				color: # <?php echo esc_attr( $header_text_color ); ?>;
			}
			<?php endif; ?>
			<?php
						  if ( ! empty( $header_image ) ) :
				?>
			.header {
				background: url(<?php header_image(); ?>) no-repeat 50% 50%;
				-webkit-background-size: cover;
				-moz-background-size: cover;
				-o-background-size: cover;
				background-size: cover;
			}
			<?php endif ;?>
		</style>
		<?php
	}
function divertheme_header_style ( ) { $ header_text_color = get_header_textcolor ( ) ; if ( HEADER_TEXTCOLOR == $ header_text_color ) { return ; } ?> <style type="text/css">
			 <?php if ( 'blank' == $ header_text_color ) : ?> .site-title,
			.site-description {
				position: absolute;
				clip: rect(1px, 1px, 1px, 1px);
			}

			 <?php else : ?> .site-title a,
			.site-description {
				color: #  <?php echo esc_attr ( $ header_text_color ) ; ?> ;
			}

			 <?php endif ; ?> <?php if ( ! empty ( $ header_image ) ) : ?> .header {
				background: url( <?php header_image ( ) ; ?> ) no-repeat 50% 50%;
				-webkit-background-size: cover;
				-moz-background-size: cover;
				-o-background-size: cover;
				background-size: cover;
			}

			 <?php endif ; ?> </style>
		 <?php }
Styles the header image and text displayed on the blog
 @see divertheme_custom_header_setup().
Styles the header image and text displayed on the blog @see divertheme_custom_header_setup () .
// If no custom options for text are set, let's bail // get_header_textcolor() options: HEADER_TEXTCOLOR is default, hide text (returns 'blank') or any hex value // If we get this far, we have custom styles. Let's do this. // Has the text been hidden?
 // If the user has set a custom color for the text use that // Has a Custom Header been added?
