• 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

How to delete the page header on one page In Genesis Sample 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 › How to delete the page header on one page In Genesis Sample theme

This topic is: not resolved
  • This topic has 6 replies, 3 voices, and was last updated 6 years, 2 months ago by Sridhar Katakam.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • April 10, 2020 at 2:57 pm #497893
    karenbeth
    Participant

    Hello,

    Our website is megabite.co I need to remove the header on the page that fist appears when you open the website. We are going to add a slider and don't want our Megabite logo to show at all. I know how to remove the right widget with our phone number and address. I just need to know how to remove the Logo and get rid of the white space the logo is in.

    Any help would be greatly appreciated as I have been searching for an answer for 2 days now and am going crazy.

    Karen

    http://megabite.co
    April 13, 2020 at 5:45 pm #497935
    Sridhar Katakam
    Participant

    Do you want to completely remove the site header on that specific Page or want to replace what appears inside it i.e., the logo + Header Right widget area with a slider?


    Genesis Tutorials | Follow me on Twitter

    April 15, 2020 at 2:37 pm #497982
    karenbeth
    Participant

    completely remove it on that one page only

    April 15, 2020 at 6:32 pm #497983
    AnitaC
    Keymaster

    You can just add this to the stylesheet or to the Additional CSS box under Appearance > Customize.

    /* Remove Site Header from Home Page Only */
    .home .site-header {
        display: none;
    }
    

    This way if you decide you want to put it back you can remove the code.


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

    April 15, 2020 at 6:34 pm #497984
    Sridhar Katakam
    Participant

    Where possible, it is recommended to make the code not be output/printed on the page rather than using the display CSS property.

    Add this in child theme's functions.php:

    add_action( 'genesis_before_header', 'custom_remove_site_header_homepage' );
    /**
     * Remove site header on the homepage.
     */
    function custom_remove_site_header_homepage() {
    	if ( is_front_page() ) {
    		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_header', 'genesis_do_nav', 12 );
    	}
    }

    Genesis Tutorials | Follow me on Twitter

    April 15, 2020 at 7:08 pm #497985
    AnitaC
    Keymaster

    Hi @sridhar-katakam I offered the CSS way because it still leaves the H1 Title there for the search engines to see in the source for SEO purposes. If that H1 is important for her, your way removes that completely from the source code. But I guess she can choose which option will be best for her website.


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

    April 15, 2020 at 7:10 pm #497986
    Sridhar Katakam
    Participant

    Good point.


    Genesis Tutorials | Follow me on Twitter

  • 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