[Resolved] disable elements will not remove header on woocommerce shop page

Home Forums Support [Resolved] disable elements will not remove header on woocommerce shop page

Home Forums Support disable elements will not remove header on woocommerce shop page

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #256832
    Edward

    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?

    #256930
    Tom
    Lead Developer
    Lead Developer

    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;
    }
    #257057
    Edward

    It worked. Thanks!

    #257110
    Tom
    Lead Developer
    Lead Developer

    You’re welcome ๐Ÿ™‚

    #372030
    VLADIMIR KARPOV

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

    #372094
    Leo
    Staff
    Customer Support

    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/

    #376177
    VLADIMIR KARPOV

    Thank you. I understood

    #376191
    Leo
    Staff
    Customer Support

    You’re welcome ๐Ÿ™‚

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.