How to invisible the header images?

  • Author
    Posts
  • #97528

    Hello,

    I’m using Codex. I want to invisible the header images (hero images) on other pages except for the Home page. Could you tell me how I can fix it? Thank you.

    Nicole

    Website: wanglx.com

    #97845
    Zed
    Cryout Creations mastermind

    Try the following CSS:

    body:not(.home) #header-image-main {
       display: none;
    }

    Keep in mind that the header titles and breadcrumbs are part of the header image area, so those will be hidden as well.


    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.
    #98442
    vitamind
    Power User

    Worked perfectly!
    Thank you Zed!

    #98894

    That’s what I want. It works well. Thank you, Zed!

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

The topic ‘How to invisible the header images?’ is closed to new replies.