• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Adjust Padding + Size of Header – Metro Theme

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › Adjust Padding + Size of Header – Metro Theme

This topic is: not resolved

Tagged: Metro theme.

  • This topic has 6 replies, 3 voices, and was last updated 9 years, 2 months ago by circles6.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • February 23, 2013 at 1:05 am #22364
    SiegerVinnare
    Member

    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,
    Tyler

     

    my website link: http://bit.ly/VCDQm7

    February 23, 2013 at 7:19 am #22384
    Anita
    Keymaster

    For 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;
    }


    Love coffee, chocolate and my Bella!

    February 23, 2013 at 3:27 pm #22449
    SiegerVinnare
    Member

    Thanks 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 #22456
    Anita
    Keymaster

    Open 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.


    Love coffee, chocolate and my Bella!

    February 23, 2013 at 6:06 pm #22480
    SiegerVinnare
    Member

    That worked perfectly! Thank you very much anitac. Huge help.

    Cheers,

    Tyler

    February 23, 2013 at 7:46 pm #22488
    Anita
    Keymaster

    You're welcome. Glad I could help.


    Love coffee, chocolate and my Bella!

    June 3, 2013 at 5:49 pm #43933
    circles6
    Participant

    Hi Anita, is there a way to increase the padding of the content in the widget areas similar to the method of reducing the padding on the header like you described in this thread?  I am using the Metro theme and the featured stories sections (per the nomencaltre of the theme demo) have no padding at the bottom of the widget areas so the widget areas are stacked closely.  Here is a link to the test site for you to see...

    http://circles6.com/clientportal/ckrost2

    FYI, I have also posted this on another thread so forgive me for the redundancy.  Thanks in advance!!

  • Author
    Posts
Viewing 7 posts - 1 through 7 (of 7 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2022 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble