WordPress.org

Forums

Hemingway
[resolved] Remove header except for home page? (6 posts)

  1. Fit4America
    Member
    Posted 10 months ago #

    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

  2. Anders Noren
    Member
    Theme Author

    Posted 10 months ago #

    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

  3. ScoutingRediscovered
    Member
    Posted 10 months ago #

    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!

  4. Fit4America
    Member
    Posted 10 months ago #

    Thanks Anders! Worked perfectly, you the man!

  5. brunsn
    Member
    Posted 9 months ago #

    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?

  6. Fit4America
    Member
    Posted 4 months ago #

    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.

Reply

You must log in to post.

About this Theme

About this Topic