Search code examples
javascriptjquerywordpresswoocommercewoothemes

Hide woocommerce product description and specification on page load?


How to hide woocommerce product description and specification on load.

Currently when product is loaded its description and specification load automatically. I need to hide this on load. But when user clicks on description and specification tab, I need to show the content.


Solution

  • I wasn’t able to find it myself but adding this to your Quick CSS or custom.css works:

      .single .woocommerce-tabs ul.tabs li.description_tab {
         display: none;
        }