• 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

Where did they hide the container width?

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 › Where did they hide the container width?

This topic is: not resolved

Tagged: container width

  • This topic has 4 replies, 2 voices, and was last updated 9 years, 3 months ago by Angelique.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • August 11, 2016 at 6:25 am #191105
    Angelique
    Member

    If it makes a difference, I'm using the Modern Studio Pro child theme.

    I need to find the container width when the layout is set to full width content, and also the widths of the two columns for pages with that layout. I expected to easily find the dimension (and adjust it, if necessary) but I don't see a quick option. I also don't see any reference to it in the code that I can access, except for margins and padding in the CSS.

    August 11, 2016 at 7:38 am #191114
    Christoph
    Member

    Hi,

    you will find the content width around line 1737 of the style.css:

    .site-container {
        box-shadow: 0 0 5px #ddd;
        margin: 40px auto;
        max-width: 1200px;
        padding: 20px 60px 100px;
    }

    If you only want to change it on full width pages, you probably have to create a new selector, something like .full-width-content .site-container {}

    I´m not sure what you mean by the widths of the two columns.
    Could be this

    .full-width-content .content {
        float: none;
        margin-left: auto;
        margin-right: auto;
        width: 80%;
    }

    or this

    .one-half, .three-sixths, .two-fourths {
        width: 48.717948717948715%;
    }

    https://www.christophherr.com | Genesis Customizations | Buy me a coffee

    August 11, 2016 at 9:17 am #191119
    Angelique
    Member

    Speaking of lines, it's frustrating that WordPress doesn't show the line numbers. You have to look at the stylesheet in your own text editor to see the line numbers.

    I finally found what I was specifically looking for in the Genesis CSS stylesheet.

    /* ### Content */
    .content {
    	float: right;
    	width: 780px;
    }
    /* ### Primary Sidebar */
    
    .sidebar-primary {
    	float: right; /* in our case, left */
    	width: 360px;
    }
    /* ### Secondary Sidebar */
    
    .sidebar-secondary {
    	float: left; /* in our case, right */
    	width: 180px;
    }

    I need to know the width of the content container so that I can make the correct proportions for my column graphics. I'm surprised that the widths can't be adjusted under Appearance/Customize. I'm glad you found the site container styling code. Thanks!

    August 11, 2016 at 10:36 am #191122
    Christoph
    Member

    There are plugins to show line numbers in the Code Editor:

    WP Editor


    https://wordpress.org/plugins/syntax-highlighter-for-wp-editor/


    https://www.christophherr.com | Genesis Customizations | Buy me a coffee

    August 11, 2016 at 3:14 pm #191139
    Angelique
    Member

    Thanks! I installed Syntax Highlighter for WP Editor.

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