Home>Support>Removing the header from pages other than the homepage

Removing the header from pages other than the homepage

By kitewizard, 10 years ago. Last reply by Daniel, 10 years ago.
Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].

I’m using Vantage Premium for my site.
I would like to just have the header on the homepage, and maybe one or two of the other pages, but I don’t want the header image on all the pages. Is there a way to make it so on some pages, the header image is absent and just the nave bar shows on the top of the page?

URL: http://www.GlidingGreen.com

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 10 years, 4 months ago kitewizard

    It took me awhile, but I got it worked from modifying some of the CSS from this thread https://wordpress.org/support/topic/remove-header-menu-on-homepage-only

    I’m not sure if I did it the proper way, but it seems to work.

    I just used the page ids instead of .home for each page that I didn’t want the header to display on, like this:

    .page-id-346 .hgroup {
    display:none;
    }

  2. 10 years, 4 months ago Daniel
    Hi, I Work Here

    Hi,

    That is the way to do it. There is a minor thing you left out to prevent it being overridden in future. You should always include –> !important whenever your are using custom css e.g

    .page-id-346 .hgroup {
    display:none !important;
    }
    

    Cheers :-)

  3. 10 years, 4 months ago kitewizard

    Awesome, thanks!

  4. 10 years, 4 months ago kitewizard

    Awesome, thanks!

    >

  5. 10 years, 4 months ago Daniel
    Hi, I Work Here

    You are most welcome!

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More