• 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

Remove gap between content and primary sidebar

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 › Remove gap between content and primary sidebar

This topic is: not resolved
  • This topic has 3 replies, 2 voices, and was last updated 11 years, 3 months ago by Carlo.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • February 2, 2015 at 6:43 am #139374
    Geek Dom
    Member

    I am new to Genesis, so 'playing' with the sample theme. One thing that is annoying me is not being able to figure out how to remove the gap between the content and primary sidebar. If I simply increase the content width, it messes up the responsive view. Is there a simpler way of doing this?

    Thanks.

    February 2, 2015 at 7:32 am #139383
    Carlo
    Member

    Hi GeekDom. I hope I understand what you want to do.

    Find the below code in your theme stylesheet:

    .sidebar-primary {
    	float: right;
    	width: 360px;
    }

    and replace it with this:

    .sidebar-primary {
    	float: right;
    	width: 400px;
    }

    Also, find the below code in your theme stylesheet:

    	.footer-widgets-1,
    	.footer-widgets-2,
    	.footer-widgets-3,
    	.sidebar-primary,
    	.title-area {
    		width: 300px;
    	}

    and replace it with this:

    	.footer-widgets-1,
    	.footer-widgets-2,
    	.footer-widgets-3,
    	.title-area {
    		width: 300px;
    	}
    
    	.sidebar-primary {
    		width: 340px;
    	}

    Let me know if that's what you want.


    Comprehensive, easy to follow Genesis documentation

    February 2, 2015 at 8:28 am #139397
    Geek Dom
    Member

    Hi Carlo,

    Yes, that's what I a was wanting - the content and sidebar next to each other.

    This works by increasing the sidebar width, but is it possible to remove the gap without making changes to the content or sidebar widths?

    I think it might be related to 'containers/wraps' which I am still trying to figure out.

    Thanks.

    February 3, 2015 at 5:17 am #139498
    Carlo
    Member

    Hi GeekDom. I think I know what you mean. Find this code:

    .site-inner,
    .wrap {
    	margin: 0 auto;
    	max-width: 1200px;
    }

    replace with:

    .site-inner,
    .wrap {
    	margin: 0 auto;
    	max-width: 1160px;
    }

    and find this code:

    	.site-inner,
    	.wrap {
    		max-width: 960px;
    	}

    replace with:

    	.site-inner,
    	.wrap {
    		max-width: 920px;
    	}

    Comprehensive, easy to follow Genesis documentation

  • 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