Community Forums › Forums › Archived Forums › General Discussion › Remove Left Sidebar for Full Width Content Home
Tagged: full width, landing page, remove sidebar
- This topic has 8 replies, 2 voices, and was last updated 10 years, 7 months ago by schnubbu.
-
AuthorPosts
-
June 11, 2014 at 9:57 pm #109423schnubbuMember
Aloha!
I would like to understand how to remove the left sidebar from my homepage. I'm confused because I keep choosing the full width layout option in the theme settings and on the home page editor. ALL my other pages have taken the change - just not the home page. Is there something I am missing?
Please help! Thank you!
http://www.clearpointmedicine.comJune 11, 2014 at 10:03 pm #109426nutsandboltsMemberIs your theme using a custom template for the homepage? (Look for a home.php or front-page.php in your child theme folder.) If so, the template may be forcing the layout, which will override anything in the page or theme settings.
Andrea Whitmer, Owner/Developer, Nuts and Bolts Media
I provide development and training services for designers • Find me on Twitter and Google+June 11, 2014 at 10:21 pm #109429schnubbuMemberThank you! Yes, it is using a child theme! What is the step to stop the forcing of the particular layout? Do you need to see some code?
June 11, 2014 at 10:22 pm #109430nutsandboltsMemberYes, if your theme includes a home.php or front-page.php, please paste its contents into a reply and I'll be glad to take a look.
Andrea Whitmer, Owner/Developer, Nuts and Bolts Media
I provide development and training services for designers • Find me on Twitter and Google+June 11, 2014 at 10:30 pm #109431schnubbuMemberI am so grateful to you! There are two pages and I"m not sure which one you might need:
This is the landing page template
<?php
/*
Template Name: Landing
*/Remove header, navigation, breadcrumbs, footer, footer widgets
remove_action( 'genesis_header', 'genesis_header_markup_open', 5 );
remove_action( 'genesis_header', 'genesis_do_header' );
remove_action( 'genesis_header', 'genesis_header_markup_close', 15 );
remove_action( 'genesis_before_header', 'genesis_do_nav' );
remove_action( 'genesis_after_header', 'genesis_do_nav' );
remove_action( 'genesis_before_header', 'genesis_do_subnav' );
remove_action( 'genesis_after_header', 'genesis_do_subnav' );
remove_action( 'genesis_before_loop', 'genesis_do_breadcrumbs' );
remove_action( 'genesis_footer', 'genesis_footer_markup_open', 5 );
remove_action( 'genesis_footer', 'genesis_do_footer' );
remove_action( 'genesis_footer', 'genesis_footer_markup_close', 15 );genesis();
And this is the frontpage.php
<?php
/**
* Build the basic structural wrap for the EZ Static Homepage.
*
* @package Dynamik
*/get_header();
?>
<div id="home-hook-wrap" class="clearfix">
<?php do_action( 'dynamik_hook_home' ); ?>
</div><!-- end #home-hook-wrap -->
<?php
get_footer();//end front-page.php
June 11, 2014 at 10:32 pm #109432nutsandboltsMemberOkay, I see now that you're using Dynamik. It has different rules/processes than the average Genesis child theme, so you'll probably need to seek support via Cobalt Apps directly: http://cobaltapps.com/
Andrea Whitmer, Owner/Developer, Nuts and Bolts Media
I provide development and training services for designers • Find me on Twitter and Google+June 11, 2014 at 10:35 pm #109433schnubbuMemberNo easy fix? Boo 🙂
I am grateful though, that you had a look! Thank you so much!
June 11, 2014 at 10:39 pm #109434nutsandboltsMemberActually it's probably a really easy fix, but since Dynamik is a third party product, it's always better to seek support directly from their development team so we don't tell you the wrong thing to do. I'm sure they'll be able to solve the mystery in no time!
Andrea Whitmer, Owner/Developer, Nuts and Bolts Media
I provide development and training services for designers • Find me on Twitter and Google+June 11, 2014 at 10:52 pm #109435schnubbuMemberThank you! I had no idea I was even using that product 🙂
-
AuthorPosts
- The forum ‘General Discussion’ is closed to new topics and replies.