Removing a header from certain pages

  • Unknown's avatar

    I want to keep the header on my home page but remove it from my other subsequent pages. How do I do this? I use Academica theme. I’ve tried typing .page-2-id .header-image {display: none;} into my CSS and yet the header stays put. Can you please help?

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    Hi!

    Do you mean the giant skull image? If so, I have a solution for you :)

    The first step is to hide the image from everywhere:

    #slider-wrap {
    	display: none;
    }

    The next step is to display it on your homepage:

    body.home #slider-wrap {
    	display: block;
    }

    Also you can remove the code that is presently in your CSS editor.

    Please let us know how this works for you.

  • Unknown's avatar

    Michael, you are a god!! Thank you so much! Worked like a charm!

  • The topic ‘Removing a header from certain pages’ is closed to new replies.