Archived topic
header in woocomerce
9 replies · Started by mario on November 5, 2017
Hi, i am setting up a woocomrce but I can not disable the home page header on this particular page, I could disable in other pages but even though I´ve check the box, it still comes outs the home page heather, please advice, I´ve been looking for answers but I do not know what else to do
Hi there,
You're trying to disable the header on your home page? It looks like a regular static page, so you should be able to use the Disable Elements meta box.
Let me know :)
No, i just want to disable the heather on the Tienda on line main page, i, ve disable the element box but it is not working on this page, i’ve change the header in other pages like nosotros, salud visual... doing the sane thing but on the tienda inline page is not working this action, thanks
Ahh that's an archive page.
Try this:
.archive.post-type-archive-product .site-header {
display: none;
}
Adding CSS: https://docs.generatepress.com/article/adding-css/
ok, this actually works, but only on a few pages..
https://opticagranviabcn.com/tienda/
https://opticagranviabcn.com/tienda/
but if I go to another page inside the shop it comes up again
https://opticagranviabcn.com/categoria-producto/colecciones/booth-bruce/
my question is, if I could easily change the header in other pages like this one for an smaller header
https://opticagranviabcn.com/nosotros/
why I can not do the same in this one, I´ve work with another themes and the header at the shop it was always customizable, as it has to be different from the other ones
thanks
I think there is a confusion between the header and page header here.
The header is a global setting which is the same for all pages.
What you are thinking about is likely page header which can be per page basis or globally.
I'd recommend check it out here first and see if this is what you are looking for:
https://docs.generatepress.com/article/page-header-overview/
ok, we are getting there, with this CSS that you sent me
.archive.post-type-archive-product .site-header {
display: none;
}
the page header on the woocommerce shop and single products page is gone,
https://opticagranviabcn.com/colecciones/germano-garbini/tienda/
but it still comes out on other products categories on the shop like this one
https://opticagranviabcn.com/categoria-producto/gafas-de-sol/
https://opticagranviabcn.com/categoria-producto/colecciones/kyme/
thanks for your help and patience….
Looks like it's all archive pages you want to remove.
Try this:
.archive .site-header {
display: none;
}
yes!!! you are my hero!!!
thanks so much for your help, amazing costumer service on an amazing theme
thanks again
No problem :)