WordPress.org

Support

Support » Themes and Templates » [Resolved] Remove header except for home page?

[Resolved] Remove header except for home page?

  • Hi Anders, thank you so much for your great theme, I’ve used it for months and plan on keeping it for a long time.

    Can you please help me with this (I looked through the threads and didn’t see it answered) but how can I remove the header on pages and posts?

    When people land on certain pages I want the content to be the first thing they see instead of the big header.

    What is the best way to do this?

    Thanks so much.

    -Travis

Viewing 5 replies - 1 through 5 (of 5 total)
  • Theme Author Anders Noren

    @anlino

    Hi Travis,

    Glad you like Hemingway!

    To hide the header on single posts and pages, install a custom CSS plugin and add the following code:

    .single-post .header-cover,
    body.page .header-cover {
         display: none;
    }

    Let me know how it goes.

    – Anders

    Thank you for that solution. It works well. I only have one problem. My home page is a static front-page that also counts as a page. Is there a way I can make that particular page an exception to the rule? Thank you for your time!

    Thanks Anders! Worked perfectly, you the man!

    I’ve been looking for a way to do this as well. The code worked great, but as Scoutingrediscovered mentions, it removes the header from the homepage if it is set as a static front page.

    Any other workarounds?

    Hi Anders, wondering if you could help and answer Scouting and Brunsn’s question.

    I too am now having the same issue.

    The CSS code removes the header on all pages, but how I can make the home page the exception?
    Thank you so much for all your help.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] Remove header except for home page?’ is closed to new replies.