Skip to content

Instantly share code, notes, and snippets.

@srikat srikat/gist:e69ada372f2bc3695659 Secret
Last active Jan 8, 2016

Embed
What would you like to do?
//* Add support for custom header
add_theme_support( 'custom-header', array(
'width' => 270,
'height' => 80,
'header-selector' => '.site-title a',
'header-text' => false
) );
//* Add support for custom header
add_theme_support( 'custom-header', array(
'width' => 350,
'height' => 270,
'header-selector' => '.site-title a',
'header-text' => false
) );
// Remove the header right widget area
unregister_sidebar( 'header-right' );
.title-area {
float: left;
padding: 0;
width: 360px;
}
.site-title {
font-family: 'Oswald', sans-serif;
font-size: 48px;
line-height: 1;
margin: 0 0 16px;
text-transform: uppercase;
}
/* Title Area
--------------------------------------------- */
.title-area {
/*float: left;*/
margin: 0 auto;
padding: 0;
width: 360px;
}
.site-title {
font-family: 'Oswald', sans-serif;
font-size: 48px;
line-height: 1;
/*margin: 0 0 16px;*/
margin: 0 0 20px;
text-transform: uppercase;
}
.header-image .site-title a {
background-color: none;
max-width: 270px;
min-height: 80px;
padding: 0;
}
.header-image .site-title a {
/*background-color: none;*/
background-position: center;
max-width: 350px;
min-height: 270px;
padding: 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.