• 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

Add content-sidebar layout to No Sidebar Theme Pro

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 › Add content-sidebar layout to No Sidebar Theme Pro

This topic is: not resolved
  • This topic has 3 replies, 2 voices, and was last updated 10 years, 4 months ago by sindreolsson.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • March 23, 2016 at 7:59 am #182097
    sindreolsson
    Member

    Hi

    I want to add content-sidebar only to studiopress theme No Sidebar.

    I am trying this one but I dont need all this: http://victorfont.com/enable-sidebars-in-atmosphere-pro/

    Do you know what code will work to get just content-sidebar layout?

    March 23, 2016 at 11:28 am #182109
    Christoph
    Member

    Hi,

    I'd just leave it as is.

    But if you want to use change / add less code:

    From Viktor's first code example (functions.php) only remove or comment out

    unregister_sidebar( 'sidebar' );

    and

    genesis_unregister_layout( 'content-sidebar' );

    From the css try leaving out the secondary sidebar, and all the content-sidebar-sidebar and sidebar-content-sidebar selectors.
    (Make sure to get rid of all the commas)


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

    March 24, 2016 at 4:44 am #182158
    sindreolsson
    Member

    Hi

    Thanks!

    I have now removed this: unregister_sidebar( 'sidebar' ); and genesis_unregister_layout( 'content-sidebar' );

    I have also added this to front-page.php and removed it from functions.php. //* Force full-width-content layout setting
    //* add_filter( 'genesis_site_layout', '__genesis_return_full_width_content' );

    Now I need to add the css so it will be responsive and work with my site. Can you pleas remove all I dont need? Will really appreciate it because I dont understand what I need and dont need in that css code from here: http://victorfont.com/enable-sidebars-in-atmosphere-pro/

    March 27, 2016 at 8:35 am #182313
    sindreolsson
    Member

    Hi again!
    I just bump this thread. Really need this sidebar to be responsive and also just the css i actually need to make primary right sidebar to work perfectly.

  • 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