Education – Remove Sidebar on Home

These forums are for general discussion on WordPress, CSS and design and site feedback. Official support for StudioPress themes is offered exclusively through the My StudioPress member area. 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.

I am setting up a site in a subfolder of the main site (http://www.trustestatelaw.net/wp/) using the Education theme. I would like to remove the sidebar and the loop from below the CTA section on the home page. I have added this code to home.php:

Thanks for the prompt response SoZo. That does work. I'm a little finicky, though, and don't really like using CSS to hide page elements. It seems a bit clunky. I'm also a little concerned about the SEO effect as that could be a bunch of hidden links. Is there a way to actually stop WordPress/Genesis from inserting the sidebar on the homepage?

Sorry to butt in, but it seems I am trying to achieve something similar to this using only the Mocha theme. I've tried hiding the sidebar and content using the CSS style sheet however I can't seem to differentiate home from the entire site. Below is the CSS from the home page, as you can see it's using the same style on all pages, do you have any ideas I can try?

Hi achieve1 thank you so much for you reply, started to feel a little invisible here LOL

I've got the remove action in my home.php but it doesn't make a difference, I also tried using remove_action for the sidebar wrap although the code may not be right?
remove_action( 'genesis_before_content_sidebar_wrap', 'mocha_home_content' );

I don't know anything about the mocha theme - but I would think it is a child theme. Presumably you are building this based on the genesis framework, in which case you should not have to make reference to the theme (we were using education theme and there's no mention of it in the code).

I think the placement is important in the home.php, and making sure the css code is