Website Building » WooCommerce » How Do I Hide the Read More Button in WooCommerce?

How Do I Hide the Read More Button in WooCommerce?

Last updated on October 1, 2022 @ 5:31 am

Are you looking to hide the read more button in WooCommerce? Maybe you’re using a theme that doesn’t give you this option, or perhaps you just want to tidying up your product pages. Whatever the reason, hiding the read more button is actually quite easy to do with a little bit of CSS.

In this tutorial, we’ll show you how to hide the read more button in WooCommerce with just a few lines of CSS.

You’ll need to be able to access your theme’s stylesheet, and have a basic understanding of CSS. If you’re not comfortable with CSS, then we recommend asking a developer or friend for help.

Here’s what you need to do:

1. Access your theme’s stylesheet. This is usually located in your WordPress themes folder. If you’re using a child theme, then it will be located in the child theme’s folder.

2. Add the following CSS code to your stylesheet:

/* Hide the read more button */
.woocommerce-product-details__short-description { display: none; }

/* Only show the excerpt */
.woocommerce-product-details__long-description { display: block; }

3. Save your changes and upload the file to your server. That’s it! The read more button should now be hidden on all of your product pages.

Conclusion:

Hiding the read more button in WooCommerce is easy to do with a little bit of CSS. Simply access your theme’s stylesheet and add the code provided in this tutorial. Save your changes and upload the file to your server, and the read more button will be hidden on all of your product pages.

Madison Geldart

Madison Geldart

Cloud infrastructure engineer and tech mess solver.