• 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

Landing Page Template – Legacy 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 › General Discussion › Landing Page Template – Legacy Theme

This topic is: not resolved
  • This topic has 6 replies, 2 voices, and was last updated 13 years, 4 months ago by PainterMommy.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • March 25, 2013 at 1:01 pm #31154
    PainterMommy
    Member

    I am working on a landing page template design for a client and the navigation bar is still showing and I can't get the border color to show.

    This is the link to the page - http://www.soulwomansanctuary.com/manifesting-miracles-eprogram/

    This is the code I added to the php file:

    <?php
    /*
    Template Name: Landing Gray
    */

    // Force full-width page layout setting
    add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_full_width_content' );

    // 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_subnav' );
    remove_action( 'genesis_before_loop', 'genesis_do_breadcrumbs' );
    remove_action( 'genesis_after', 'genesis_footer_markup_open', 5 );
    remove_action( 'genesis_after', 'genesis_do_footer' );
    remove_action( 'genesis_after', 'genesis_footer_markup_close', 15 );
    remove_action( 'genesis_before_footer', 'genesis_footer_widget_areas' );
    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();

    This is the code I added to the stylesheet:

    .page-template-landinggray-php #wrap {
    width: 800px;
    border: 0px solid #ededed;
    }

    .page-template-landinggray-php #inner {
    width: 740px;
    }

    .page-template-landinggray-php .page {
    padding: 10px 10px 0;
    }

    .page-template-landinggray-php #content {
    margin: 0 auto;
    width: 740px;
    }

     

    I appreciate any insight that you might have for me.  I am a novice when it comes to coding.

    DAWN

     

    March 25, 2013 at 3:29 pm #31181
    AnitaC
    Keymaster

    Dawn, review this and see if it helps - http://www.briangardner.com/create-landing-page/.


    Need help with customization or troubleshooting? Reach out to me.

    March 25, 2013 at 4:28 pm #31192
    PainterMommy
    Member

    OK, I looked it over.  Is there anything I am missing in my code?  Do you see anything that is wrong that would be causing the nav bar to show?

    March 25, 2013 at 5:11 pm #31198
    AnitaC
    Keymaster

    You have the border set at 0px - it should be at 1, 2... whatever you want, then it will show up. I have looked at the other code and cannot see why that Nav is in there. Did you turn the Navigation off under the Genesis settings?


    Need help with customization or troubleshooting? Reach out to me.

    March 25, 2013 at 5:27 pm #31203
    PainterMommy
    Member

    Duh!  How stupid of me.  I fixed it and it is showing great now.  I am stumped about the navigation showing though.  I did not mess with any Genesis settings.  I can't leave the navigation there, the client doesn't want that.  Is there anyone else that I could ask maybe?  What would you suggest?

     

    BTW, thankyou for taking the time to help me.  🙂

    March 26, 2013 at 5:15 am #31272
    PainterMommy
    Member

    I can't get the navigation to disappear.  Help!  What do I do?

     

    March 26, 2013 at 7:40 am #31301
    PainterMommy
    Member

    Got the answer!
    The navigation displays AFTER the header on my homepage so the hook is different...
    remove_action( 'genesis_after_header', 'genesis_do_nav' );

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