• I’m using sketch and would like to only have the header image on the front page but not my project page or any others. This came up in an earlier forum post but the question wasn’t specifically about sketch: https://wordpress.org/support/topic/show-header-only-on-front-page/.

    I used theme editor and tried pasting the code from that post (both examples) into the bottom of style.css but it had no effect. Should it be somewhere else in the file? Any other suggestions?

    Just testing this out locally for now so I don’t have a link for my site.

    • This topic was modified 3 years, 3 months ago by d886arwin.
Viewing 1 replies (of 1 total)
  • Hello there,

    Happy to help you with this.

    You might want to try this CSS for that result.

    
    /* Hide header from all but home */
    
    body:not(.home) .custom-header {
        display: none;
    }
    
    

    I hope this helps.

Viewing 1 replies (of 1 total)
  • The topic ‘header image only on front page’ is closed to new replies.