• 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

Remove Left Sidebar for Full Width Content Home

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 › Remove Left Sidebar for Full Width Content Home

This topic is: not resolved

Tagged: full width, landing page, remove sidebar

  • This topic has 8 replies, 2 voices, and was last updated 8 years, 12 months ago by schnubbu.
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • June 11, 2014 at 9:57 pm #109423
    schnubbu
    Member

    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.com
    June 11, 2014 at 10:03 pm #109426
    nutsandbolts
    Member

    Is 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 #109429
    schnubbu
    Member

    Thank 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 #109430
    nutsandbolts
    Member

    Yes, 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 #109431
    schnubbu
    Member

    I 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 #109432
    nutsandbolts
    Member

    Okay, 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 #109433
    schnubbu
    Member

    No easy fix? Boo 🙂

    I am grateful though, that you had a look! Thank you so much!

    June 11, 2014 at 10:39 pm #109434
    nutsandbolts
    Member

    Actually 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 #109435
    schnubbu
    Member

    Thank you! I had no idea I was even using that product 🙂

  • Author
    Posts
Viewing 9 posts - 1 through 9 (of 9 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

© 2023 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