• 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

Remove header padding in Lifestyle Pro 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 › Design Tips and Tricks › Remove header padding in Lifestyle Pro Theme

This topic is: not resolved

Tagged: header, image, padding, space

  • This topic has 8 replies, 6 voices, and was last updated 10 years, 9 months ago by DTHkelly.
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • January 26, 2014 at 2:47 pm #87124
    Daidri S.
    Member

    Hi,
    RE: Lifestyle Pro Theme Header

    I have added my own custom header image on my blog http://theegetawaygal.com which is using the Lifestyle Pro Theme and now need to remove the padding at the top and bottom of the image. I have already tried adding the below code to my Style Sheet just above the Media Queries but with no luck. Have I put the code in the correct place? Is the code written incorrectly? Any other suggestions I can try?

    Thanks so much for the help and suggestions!

    }

    .site-header {
    background-color: #76d2c5;
    padding: 0px;
    padding: 0rem;
    overflow: hidden;
    }

    http://theegetawaygal.com
    January 26, 2014 at 4:31 pm #87132
    eamonmoriarty
    Participant

    At line 906 0f your style.css you have:

    .header-image .site-title a {
        float: left;
        min-height: 400px;
        width: 100%;
    }

    Try changing to
    min-height: 200px;


    Eamon Moriarty
    EM Dzine

    January 27, 2014 at 8:58 am #87229
    Daidri S.
    Member

    Hi Eamon,

    Thanks for the suggestion however that doesn't work. It causes a larger border on the top and bottom of the image to stay the same and adds border to the sides which shifts all the content below the header to the right.

    Still looking for the fix.

    Daidri

    January 27, 2014 at 4:31 pm #87310
    asterbird
    Member

    looks like the space on top, left, and right of your header image is coming from line 424 in your style.css. Try tweaking that.

    .site-container {
        padding: 0;
    }
    February 12, 2014 at 12:25 am #89922
    mindyjoy
    Member

    Hi, I am having the same issue. I've tried many things and cannot seem to reduce the padding on top and bottom of my header when showing on a small screen. My site is http://www.budgetfairytale.com

    February 12, 2014 at 10:28 pm #90095
    asterbird
    Member

    Hi @mindyjoy, add the following to the bottom of your stylesheet. Then you can tweak from there, or add in with your other media queries if you want:

    @media all and (max-width: 900px) and (min-width: 501px) {
    
    .header-image .site-title a {
        min-height: 140px;
    }
    .title-area {
        height: 140px;
    }
    
    }
    
    @media all and (max-width: 500px) {
    
    .header-image .site-title a {
        min-height: 100px;
    }
    .title-area {
        height: 100px;
    }
    
    }
    February 13, 2014 at 1:42 am #90105
    mindyjoy
    Member

    @asterbird - Worked perfectly, thank you so much! I really appreciate your help.

    September 29, 2014 at 12:22 pm #126184
    Janiceaday
    Member

    I had the same problem as the first person. I found this in the layout section of CSS. The padding (last line) was set to 36px. I changed it to 10, and it's perfect. I haven't checked how it looks on devices outside of the computer (phone, tablet).

    .site-container {
    background-color: #fff;
    box-shadow: 0 0 5px #ddd;
    margin: 32px auto;
    max-width: 1140px;
    overflow: hidden;
    padding: 10px;

    September 29, 2014 at 2:24 pm #126191
    DTHkelly
    Member

    I had this issue for Daily Dish Pro. Support recommended I change the CSS to the following (to remove padding from my custom Header)

    .site-header {
        padding: 0;
        text-align: center;
    }

    The zero value will be applied to the top, right, bottom and left. You do not need to add the 'px'.

  • Author
    Posts
Viewing 9 posts - 1 through 9 (of 9 total)
  • The forum ‘Design Tips and Tricks’ 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

© 2025 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