• Hello!
    I am wondering I can remove the header from all my pages except my homepage. I have a header image that is full page and it also has slideshow shortcode attached. It is really cumbersome to have on every page. So I would like to know how to remove it on all my additional pages.
    Thanks

    Theme: Photos
    WP version: 4.6.1
    Site: girlwthecamera.com

Viewing 1 replies (of 1 total)
  • Try adding these rules to your custom CSS:

    
    .jumbotron {
        display: none;
    }
    
    .blog .jumbotron {
        display: block;
    }
    
    #showLeftPush {
        color: #777;
    }
    
    .blog #showLeftPush {
        color: white;
    }
    

    The first rule hides the header on all pages, the second rule makes it show up on just the home page (the blog page). I added the next two rules because once the header image is removed, it’s hard to see the menu button in the upper left corner (not a lot of contrast between the white lines and light gray background). The third rule sets the color of the “hamburger” to a dark gray color, the last rule sets it to white on the home page (like it currently is). You can experiment with leaving off the last couple of rules, or changing the color of the hamburger.

Viewing 1 replies (of 1 total)
  • The topic ‘How do I remove the header file from all pages except homepage?’ is closed to new replies.