• 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 margins and padding from LifeStyle header

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 margins and padding from LifeStyle header

This topic is: not resolved

Tagged: header margins, header padding, lifestyle theme

  • This topic has 3 replies, 2 voices, and was last updated 13 years, 1 month ago by photastic.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • August 16, 2013 at 12:34 am #56734
    wisebear
    Member

    I'd like my header to span the column width in the Lifestyle main column... no margins or padding. I've managed to get the top and left side in place, but I don't know what I need to edit in the css to get the right side to cooperate. All suggestions welcome.

    http://www.gregmessel.com
    August 16, 2013 at 1:14 am #56737
    photastic
    Member

    The problem isn't padding or margins but your theme's width (960px) is wider than your background (920px)...

    If you add this to your css, it should remove the whitespaces on the left & right side of your theme :

    #wrap {
    width: 920px;
    }

    If I got things right & Chrome Developer Tools are right 😉


    Trying to craft webstuff at Photastic Webdesign
    Learning Genesis by solving unanswered topics

    August 16, 2013 at 11:41 am #56845
    wisebear
    Member

    Thanks photastic... I had changed the width already, but I needed to change the width in the theme functions so I could reupload the image without it getting cropped. I appreciate your help and support.

    August 16, 2013 at 12:34 pm #56852
    photastic
    Member

    glad you got it figured out 🙂


    Trying to craft webstuff at Photastic Webdesign
    Learning Genesis by solving unanswered topics

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 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

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