Community Forums › Forums › General Discussion › Adjust Padding + Size of Header – Metro Theme
Tagged: Metro theme.
This topic contains 5 replies, has 2 voices, and was last updated by anitac 2 months, 3 weeks ago.
-
AuthorPosts
-
February 23, 2013 at 1:05 am #22364
I am wondering how I can adjust the padding around the header image in the metro theme? and also increase the height of the header container. Make the height around 100px instead of 87px.
I would also like to know how to reduce the padding at the top of the header.
Any help with this is much appreciated!
Cheers,
Tylermy website link: http://bit.ly/VCDQm7
February 23, 2013 at 7:19 am #22384For the logo – look for this in your style.css file – change 87 to 100.
.header-image #title, .header-image #title a, .header-image #title-area {
display: block;
float: left;
min-height: 87px;
overflow: hidden;
text-indent: -9999px;
}For the top padding, look for this, and ADD this – padding-top: 1.25rem;
#wrap {
clear: both;
padding: 2.25rem;
}
Twitter Handles: @thecre8tivediva | Website: Cre8tiveDiva.com | LinkedIn Group: http://goo.gl/nNe1m
Why Not Take The Challenge! – Help us answer some of the unanswered postsFebruary 23, 2013 at 3:27 pm #22449Thanks anitac, that helped! Unfortunately it still forces me to crop my header to 87px when I upload it. The container is bigger but it just makes me crop it once I upload it. Any ideas?
Thanks again for your help!
February 23, 2013 at 4:09 pm #22456Open your Functions.php file and look for this:
// Add support for custom header add_theme_support( 'genesis-custom-header', array( 'flex-height' => true, 'height' => 87, 'width' => 1080 ) );
Change the height and width to your exact logo settings. This will eliminate the cropping.
Twitter Handles: @thecre8tivediva | Website: Cre8tiveDiva.com | LinkedIn Group: http://goo.gl/nNe1m
Why Not Take The Challenge! – Help us answer some of the unanswered postsFebruary 23, 2013 at 6:06 pm #22480That worked perfectly! Thank you very much anitac. Huge help.
Cheers,
Tyler
February 23, 2013 at 7:46 pm #22488You’re welcome. Glad I could help.
Twitter Handles: @thecre8tivediva | Website: Cre8tiveDiva.com | LinkedIn Group: http://goo.gl/nNe1m
Why Not Take The Challenge! – Help us answer some of the unanswered posts -
AuthorPosts
You must be logged in to reply to this topic.