This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

Removing the header from pages other than the homepage

Resolved 5 replies premiumthemetheme-vantage
11 years ago · Last reply by Daniel 11 years ago

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.

Need fast email support? Get SiteOrigin Premium

Replies

5
  1. kitewizard 11 years, 2 days ago

    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. Daniel Staff 11 years, 2 days ago

    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. kitewizard 11 years, 2 days ago

    Awesome, thanks!

  4. kitewizard 11 years, 1 day ago

    Awesome, thanks!

    >

  5. Daniel Staff 11 years, 1 day ago

    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.

Have a different question or issue?

Start New Thread