• 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 remove 'site-inner' class from Enterprise 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 › General Discussion › How to remove 'site-inner' class from Enterprise Pro

This topic is: not resolved

Tagged: .site-inner, css, Enterprise Pro, php, site container

  • This topic has 4 replies, 2 voices, and was last updated 10 years, 2 months ago by Tom.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • January 9, 2016 at 6:02 pm #176090
    Tom
    Member

    Hi all,

    Currently on the Enterprise Pro Theme, the 'Home Bottom' widget area is loaded within 'site-inner' class eliminating the possibility to have full-width backgrounds.

    Is there a way to load the widget areas within the 'site-container' directly and remove 'site-inner'. Similar to the set-up from Education Pro for example... (screenshot below)

    Any help would be much appreciated.

    January 10, 2016 at 12:39 pm #176159
    Tom
    Member

    Apologies for the bump, any suggestions or advice would be super!

    January 10, 2016 at 1:27 pm #176162
    Christoph
    Member

    Hi,

    in the front-page.php try changing

    // Add home bottom widgets
    		add_action( 'genesis_loop', 'enterprise_home_bottom_widgets' );

    to

    // Add home bottom widgets
    		add_action( 'genesis_before_footer', 'enterprise_home_bottom_widgets' );

    You might have to change the priority
    e.g. add_action( 'genesis_before_footer', 'enterprise_home_bottom_widgets' , 5 );


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

    January 10, 2016 at 4:09 pm #176173
    Tom
    Member

    Hi Christoph,

    Thanks for the reply! You pointed me in the right direction 🙂

    I used the following:

    // Add home bottom widgets
    add_action( 'genesis_after_header', 'enterprise_home_bottom_widgets' );
    .enterprise-home .site-inner {
        display: none;
    }

    If anyone else has any alternative suggestions, that would be great!

    January 10, 2016 at 4:37 pm #176175
    Tom
    Member

    ... Saying that, I noticed that the Widget Areas and Footer are sitting outside of the 'site-container' class.

    I noticed this isn't the case with some of the other Child Themes, is there a particular reason this happens and is it bad practice?

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘General Discussion’ 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