• 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

Change the width of content

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 › Change the width of content

This topic is: resolved

Tagged: Content Layout

  • This topic has 4 replies, 2 voices, and was last updated 11 years, 9 months ago by Amit_Gaara.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • September 1, 2013 at 2:22 am #60007
    Amit_Gaara
    Member

    http://www.techlila.com/ how to make the content width like this site has ? and how to make the sidebar attach the main box with a border in between for the sample child theme of genesis 2.0.1 and still keep it responsive.

    September 1, 2013 at 2:31 am #60008
    Sridhar Katakam
    Participant

    Try adding the following at the end of theme's style.css (WP Dashboard > Appearance > Editor):

    .site-inner {
        background: #FFFFFF;
        padding-top: 0;
        margin-top: 4rem;
    }
    
    .content-sidebar .content, .content-sidebar-sidebar .content, .sidebar-content-sidebar .content {
        border-right: 1px solid #eeeeee;
    }
    
    .sidebar .widget {
        padding-left: 0;
    }
    
    .archive-pagination, .entry-pagination {
        padding-left: 3rem;
        padding-right: 3rem;
    }

    Genesis Tutorials | Follow me on Twitter

    September 1, 2013 at 3:13 am #60009
    Amit_Gaara
    Member

    but the width is different his site

    September 1, 2013 at 4:12 am #60014
    Sridhar Katakam
    Participant

    Try replacing the earlier code with

    .site-inner {
        background: #FFFFFF;
        padding-top: 0;
        margin-top: 4rem;
    }
    
    .content-sidebar .content, .content-sidebar-sidebar .content, .sidebar-content-sidebar .content {
        border-right: 1px solid #eeeeee;
    }
    
    .site-inner {
        max-width: 1204px;
        box-shadow: 0 5px 5px 5px rgba(0, 0, 0, 0.2);
        padding: 2rem 2.6rem;
    }
    
    .content-sidebar .content, .sidebar-content .content, .title-area {
        width: 65.2778%;
    }
    
    .footer-widgets-1, .footer-widgets-2, .footer-widgets-3, .sidebar {
        width: 33%;
    }
    
    .sidebar .widget {
        padding: 16px;
    }
    
    .content {
        padding-right: 3.5rem;
    }
    
    .home .entry {
        padding: 0;
    }
    
    .entry-footer .entry-meta {
        margin-left: 0;
        margin-right: 0;
    }
    
    @media only screen and (max-width: 500px) {
        .content-sidebar .content, .sidebar-content .content, .title-area,
        .footer-widgets-1, .footer-widgets-2, .footer-widgets-3, .sidebar {
            width: 100%;
        }
    }

    Genesis Tutorials | Follow me on Twitter

    September 1, 2013 at 4:30 am #60017
    Amit_Gaara
    Member

    Yo that works like charm

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Change the width of content’ is closed to new 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