• 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

Indenting/Padding Blog Posts and Widgets – Lifestyle Pro

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 › Indenting/Padding Blog Posts and Widgets – Lifestyle Pro

This topic is: not resolved

Tagged: lifestyle Pro, padding blog posts and widgets

  • This topic has 1 reply, 2 voices, and was last updated 9 years, 5 months ago by Sridhar Katakam.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • December 13, 2013 at 11:38 am #78839
    [email protected]
    Member

    I have changed my .site-container so that the header spans the entire page with no padding top or left and right. However, in setting the padding to 0 in the .site-container - all post boxes and widget boxes are now flush with the edge. How do I change the padding of them?

    Here is the site http://www.travellingfortwo.com

    Here is the code I changed in the .site-container

    .site-container {
    background-color: #FFFCF3;
    box-shadow: 0 0 5px #194F7C;
    margin: 32px auto;
    margin: 3.2rem auto;
    max-width: 1140px;
    overflow: hidden;
    padding: 36px;
    padding: 0px;
    }

    http://www.travellingfortwo.com
    December 14, 2013 at 12:27 am #78993
    Sridhar Katakam
    Participant

    Try this CSS:

    .site-container {
    	padding: 36px;
    	padding: 3.6rem;
    }
    
    .site-header {
        margin-left: -3.6rem;
        margin-right: -3.6rem;
        margin-top: -3.6rem;
    }
    
    .nav-secondary {
        margin-left: -3.6rem;
        margin-right: -3.6rem;
    }
    
    @media only screen and (max-width: 1023px) {
    
    	.site-header {
    		padding: 0;
    	}
    
    }

    Genesis Tutorials | Follow me on Twitter

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

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