Created
February 3, 2015 20:44
-
-
Save leepettijohn/549f81464efb4ace5945 to your computer and use it in GitHub Desktop.
Genesis Framework - Add Custom Header
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_theme_support( 'custom-header', array( | |
'width' => 541, | |
'height' => 200, | |
'header-text' => false, | |
'header-selector' => '.site-title a' | |
) | |
); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.header-image .site-title a { | |
background-position: center !important; | |
background-size: contain !important; | |
//float: left; | |
display: block; | |
min-height: 118px; | |
text-indent: -9999px; | |
width: 100%; | |
max-height:190px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment