• 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

Removing menu on landing page

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 › Removing menu on landing page

This topic is: resolved

Tagged: landing page, menu, minimum

  • This topic has 4 replies, 2 voices, and was last updated 12 years, 1 month ago by Cesc Vilanova.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • May 29, 2013 at 7:31 am #43050
    Cesc Vilanova
    Member

    Hi,

    What's the easier way to remove a menu and header from a specific landing page?

    I'm working with the Minimum demo but I don't find how to use the landing page template:

    http://www.studiopress.com/demo/minimum.html

    Thanks in advance!

    Cesc

    http://cescvilanova.com/en-que-puedo-ayudarte/
    May 29, 2013 at 7:52 am #43053
    Brad Dalton
    Participant

    Link to the specific landing page please.


    Tutorials for StudioPress Themes.

    May 29, 2013 at 7:54 am #43054
    Cesc Vilanova
    Member

    This is the page in which I want to remove the menu.

    http://cescvilanova.com/lo-que-me-gustaria-haber-aprendido-antes-de-crear-mi-primera-empresa-en-internet/

    Thanks!

    May 29, 2013 at 8:13 am #43056
    Brad Dalton
    Participant

    You can use CSS code or PHP.

    .page-id-2066 #nav {
        display: none;
    }
    

    To remove the header you can add it to the new rule:

    .page-id-2066 #header {
        display: none;
    }
    

    Grab the page i.d from the source code in the body class or use Firebug and inspect the element and then add that to the menu class with a declaration to display none.

    This code applies to the sub nav (secondary menu)

    Code not displaying? Grab it on Github.

    Use is_single for posts and is_page for pages.

    Change the I.D which you can grab from the source code.

    You can also change the hook location: genesis_before_header or genesis_after_header


    Tutorials for StudioPress Themes.

    May 30, 2013 at 1:47 am #43166
    Cesc Vilanova
    Member

    Thanks a lot Braddalton.

  • 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

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