Removing the header from pages other than the homepage
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?
This is our free support forum. Replies can take several days.
Need fast email support? Get SiteOrigin Premium
Replies
5It 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;
}
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 :-)
Awesome, thanks!
Awesome, thanks!
>
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.