Site logo

Archived topic

disable elements will not remove header on woocommerce shop page

7 replies · Started by Edward on December 21, 2016

Viewing posts 1–8 of 8

I have used disable elements to remove the header on all the pages in my site. But it will remove from the woocommerce shop page. What to do?

Hi there,

Disable Elements doesn't have a global remove option - it only works on individual pages.

Or are you trying to disable it on WooCommerce as well?

If so, try this:

.woocommerce .site-header {
    display: none;
}

If you want to disable the site header globally across all pages, just use this CSS:

.site-header {
    display: none;
}

It worked. Thanks!

You're welcome :)

disable element (secondary menu) is not working (does not work) on page shop woocommerce. How to turn off the element?

That page is actually an index page (blog, archive etc) so meta box won't work (WordPress default)

Try this CSS:

.post-type-archive-product .secondary-navigation {
    display: none;
}

Adding CSS: https://docs.generatepress.com/article/adding-css/

Thank you. I understood

You're welcome :)

This archived topic is closed to new replies.