Website Building » WooCommerce » How Do I Hide Tabs in WooCommerce?

How Do I Hide Tabs in WooCommerce?

Last updated on January 19, 2023 @ 1:08 pm

There are a few different ways that you can hide tabs in WooCommerce. One way is to simply remove the tabbed interface altogether by going to the WooCommerce Settings page and selecting the “Disable the default tabs” option. This will remove all of the tabs from the product page, including the “Description”, “Additional Information”, and “Reviews” tabs.

If you only want to hide certain tabs, you can do so by using a plugin like WooCommerce Tab Manager. This plugin lets you manage which tabs are displayed on a per-product basis. Simply edit the product in question and choose which tabs you want to show or hide.

You can also hide tabs by editing your theme’s CSS file. This is a more advanced solution and should only be attempted if you’re comfortable with editing code. To do this, you’ll need to find the CSS class for the tab you want to hide.

PRO TIP: If you are considering hiding tabs in WooCommerce, be aware that this could potentially impact your sales. Hidden tabs may make it difficult for customers to find important information about your products, which could lead to them abandoning their purchase. Before making any changes to your WooCommerce store, be sure to thoroughly test how it will affect your customer experience.

Each tab has its own unique CSS class, which can be found in the source code of the product page. For example, the “Description” tab has a class of .woocommerce-tabs__panel–description. Once you’ve found the correct class, simply add the following code to your theme’s CSS file:

.woocommerce-tabs__panel--class-name {
    display: none;
}

Of course, you’ll need to replace “class-name” with the actual class of the tab you want to hide. You can use this method to hide any tab, including those added by plugins.

Hiding tabs in WooCommerce is a relatively simple process. Whether you want to remove all tabs or just certain ones, there are a few different methods you can use to get the job done.

Kathy McFarland

Kathy McFarland

Devops woman in trade, tech explorer and problem navigator.