• Resolved Hellmet

    (@hellmet)


    Hello there. Is there any way to display the header and site title only on the home page?

    If I could achieve this, I would also like hide the top navigation bar and menu behind the header image, so it only becomes visible once the “see more” button is pressed and the screen scrolls down.

    Thanks in advance,
    Rob

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Hellmet

    (@hellmet)

    Ok so I figured this out on my own. Here is the css I’m using in case anyone ever wants to know.

    Hide nav bar behind header:

    .home #site-navigation {
    z-index: 1;
    }
    .home .title-card-wrapper {
    z-index: 2;
    }

    Display only on homepage

    .title-card-wrapper {
    display: none;
    }
    .home .title-card-wrapper {
    display: block;
    }

    Hi there!
    What would be the code if I just want to have the image/header shown on the pages without the title?
    Your code removes header plus title. Any chance you can help me out with this??
    Thanx!

    wwww.popupyogastudiohaarlem.nl

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Header only on homepage’ is closed to new replies.