• 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

Help with page width css

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 › Help with page width css

This topic is: not resolved
  • This topic has 3 replies, 3 voices, and was last updated 13 years ago by blueprairie.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • February 23, 2013 at 12:46 pm #22423
    blueprairie
    Participant

    I am using the Serenity Child Theme and could use help finding where the width is set in the CSS for the page-sidebar setup.

    Take a look here: http://vanmeteria.server276.com/local-info/residential-info/des-moines-register-2005-census-article/

    The center page has no margin between it and the sidebar.  I've tried modifying several width settings in style.css but none modified this.

    Can anyone here guide me on where to change this?

    Thank you!

    - Kimberly

    February 23, 2013 at 1:53 pm #22433
    bandj
    Member

    looks like you changed your #content-sidebar-wrap from 880px to 840px so you lost 40px. You also have your #sidebar float: left .

    change your #sidebar to float: right and then you'll have to make the widths of either your #content, #sidebar or both smaller.

    February 23, 2013 at 3:18 pm #22447
    Frank
    Member

    Change this:

    #sidebar {

        color: #555555;
        display: inline;
        float: left;
        font-size: 11px;
        margin: 0;
        padding: 0;
        width: 266px;

    }

    To this:
    #sidebar {

        color: #555555;
        display: inline;
        float: right;
        font-size: 11px;
        margin: 0;
        padding: 0;
        width: 250px;

    }

    And change this:

    .sidebar-content #content, .content-sidebar #content {

        width: 572px;
    }

    To this:

    .sidebar-content #content, .content-sidebar #content {

        width: 565px;

    }

    You have a total width of 840px, so if you ad 266px to the 572px, you basically have only 2px of space between content and sidebar.

    Frank

    February 23, 2013 at 4:41 pm #22461
    blueprairie
    Participant

    Thanks Frank!  Those changes did what I needed!

  • 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