• 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

Widen Content, Shorten Sidebar – Sample Theme

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 › Widen Content, Shorten Sidebar – Sample Theme

This topic is: not resolved

Tagged: content, Sidebar, widen, Width, wrap

  • This topic has 3 replies, 2 voices, and was last updated 12 years, 8 months ago by Marcy.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • July 7, 2013 at 2:46 pm #49683
    friendlier2
    Member

    Hey guys,

    How do I widen the content of Sample theme and thin out the sidebar? I've shortened the sidebar with pixels, but of course there's whitespace between the content of the posts, now, and the sidebar, i'm assuming i need to tweak the wrappers as well--any pointers?

    Here's the css for the content wrappers:

    }

    .content-sidebar-sidebar .sidebar,
    .sidebar-content-sidebar .sidebar,
    .sidebar-sidebar-content .sidebar {
    width: 37.931034482%; /* 352px / 928px */
    }

    .content-sidebar-sidebar #content,
    .sidebar-content-sidebar #content,
    .sidebar-sidebar-content #content {
    width: 56.896551724%; /* 528px / 928px */
    }

    .content-sidebar #content,
    .sidebar-content #content,
    #title-area {
    width: 65.277777777%; /* 752px / 1152px */
    }

    .content-sidebar-sidebar #content-sidebar-wrap,
    .sidebar-content-sidebar #content-sidebar-wrap,
    .sidebar-sidebar-content #content-sidebar-wrap {
    width: 80.555555555%; /* 928px / 1152px */
    }

    .content-sidebar #content-sidebar-wrap,
    .full-width-content #content,
    .full-width-content #content-sidebar-wrap,
    .sidebar-content #content-sidebar-wrap {
    width: 100%; /* 1152px / 1152px */
    }

    and here's the css I tweaked to thin out the sidebar:
    .sidebar {
    display: inline;
    line-height: 1.5;
    width:250px;

    I'm a novice Genesis theme-r so have grace with me! 🙂

    July 9, 2013 at 11:23 am #49980
    Marcy
    Participant

    The original sidebar was (I'm only:
    .sidebar {
    width: 30.555555555%; /* 352px / 1152px */
    }
    The % number is what you want to change; the part between /* and */ is a comment that tells you to divide the width of the sidebar (352px) by the width of the site (1152px)

    You want the new width to be 250px, so 250px /1152px = 21.70138%,
    so the new width for .sidebar is
    width: 21.70138%; /* 250px /1152px */

    So now you want the content area to be larger by 352px - 250px = 102px

    So for each of the sections, you would add 102px to the first number and divide by 1152px to get the new %.
    --------------

    .content-sidebar-sidebar .sidebar,
    .sidebar-content-sidebar .sidebar,
    .sidebar-sidebar-content .sidebar {
    width: 21.70138%; /* 250px /1152px */
    }

    .content-sidebar-sidebar #content,
    .sidebar-content-sidebar #content,
    .sidebar-sidebar-content #content {
    width: 67.788793%; /* 630px / 928px */
    }

    .content-sidebar #content,
    .sidebar-content #content,
    #title-area {
    width: 74.13194%; /* 854px / 1152px */
    }

    I don't think you want to change this one, unless you have also changed the width of #sidebar-alt.
    .content-sidebar-sidebar #content-sidebar-wrap,
    .sidebar-content-sidebar #content-sidebar-wrap,
    .sidebar-sidebar-content #content-sidebar-wrap {
    width: 80.555555555%; /* 928px / 1152px */
    }


    Marcy | Amethyst Website Design | Twitter

    July 9, 2013 at 12:10 pm #49988
    friendlier2
    Member

    thank you so much for the help, Marcy. the percentages have been a learning curve for me, and now that I know the pixels are meant for math, that helps. worked like a charm when i put the code into the theme. thanks again!!

    July 9, 2013 at 12:27 pm #49991
    Marcy
    Participant

    I'm glad it worked for you!


    Marcy | Amethyst Website Design | Twitter

  • 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