• Resolved childandtheword

    (@childandtheword)


    Hi –

    I’m pretty new and trying to figure out if there’s a way to hide the site header image except for on the home page – or, alternatively, is there a good way to get an image to span the screen under the nav bar menu on top? The site isn’t up yet, but I haven’t made any changes to the code beyond adding a picture to the header via the branding plug in.

    Thanks!

Viewing 1 replies (of 1 total)
  • try this
    if ( is_home() ) {

    // this content will only be added on homepage
    }
    but check if you are not missing any js or css files on other pages if you are going to add header only on homepage.

Viewing 1 replies (of 1 total)
  • The topic ‘hide site header except for home page’ is closed to new replies.