How to show Headermedia on landing page only

  • Author
    Posts
  • #107888

    Is it possible to show the headermedia on the homepage (or landing page) only?

    • This topic was modified 4 years ago by gorrit.
    #107930

    I think it is possible to show.

    #108064
    Zed
    Cryout Creations mastermind

    The header is a site-wide feature and cannot be selectively displayed just through the included options and functionality. You could hide it on the non-home pages with some custom CSS, though:

    body:not(.home) #masthead #header-image-main-inside {
        height: 0;
    }

    Keep in mind that the header image also holds the header titles and header widget area and will vanish with it.


    If you like our creations, help us share by rating them on WordPress.org.
    Please check the available documentation and search the forums before starting a topic.
    #108163

    Thank you Zed.

    I am aware that header, image etc. won’t be visible. But that is eaxactly what I need in this specific case.

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘How to show Headermedia on landing page only’ is closed to new replies.