• 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

How to add sidebar to No Sidebar Pro 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 › How to add sidebar to No Sidebar Pro theme?

This topic is: resolved

Tagged: no sidebar pro

  • This topic has 3 replies, 3 voices, and was last updated 9 years, 11 months ago by Victor Font.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • January 7, 2016 at 8:06 am #175846
    bisonbrah
    Participant

    Project scope changed on me out of the blue and now I need to add a sidebar to the No Sidebar Pro theme. Does anyone have a snippet to make this happen?

    url: block.wpengine.com
    username: demo
    password: demo1234

    http://block.wpengine.com
    January 7, 2016 at 10:22 am #175859
    Christoph
    Member

    Hi,

    it might be easier to take the parts of the code from no sidebar that you want to use and integrate it into a different theme.

    I hope you are charging well for the scope change 😉

    Here is all the code that removes the sidebars and site layouts:
    Around line 149 in the functions.php the sidebar is unregistered with:

    //* Remove sidebars
    unregister_sidebar( 'sidebar' );
    ...

    and around line 153 several site-layouts are unregistered:

    //* Remove site layouts
    genesis_unregister_layout( 'content-sidebar' );
    genesis_unregister_layout( 'sidebar-content' );
    ...

    then around line 160 full-width layout is forced on the site:

    //* Force full-width-content layout setting
    add_filter( 'genesis_site_layout', '__genesis_return_full_width_content' );

    After you have deleted, changed or commented out all of that, you will have to add css for the sidebars from a different theme (sample theme...) to your style.css and adjust it for no sidebar pro.


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

    January 7, 2016 at 2:33 pm #175890
    bisonbrah
    Participant

    Perfect, thanks! I tried several sidebar css snippets from other themes but I cannot seem to get it right for mobile - any advise?

    January 8, 2016 at 4:35 am #175933
    Victor Font
    Moderator

    I would copy the sidebar and widget css from the Sample Theme, including the code in the media queries, and add it to your theme's style.css. That would only be the starting point. You would have to provide all of the tweaking. It;s going to be a lot of work. As Christoph said, "It might be easier to take the parts of the code from no sidebar that you want to use and integrate it into a different theme."


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘How to add sidebar to No Sidebar Pro theme?’ is closed to new 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