Created
June 20, 2020 13:49
-
-
Save zakirsajib/fd6b68384c33e8c374a882aa65be7b1a to your computer and use it in GitHub Desktop.
Hide Sale text in WooCommerce
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# There are two ways we can hide Sale text | |
# Using CSS | |
.content-area .summary .onsale{ | |
display: none; | |
} | |
# Using remove action | |
remove_action( 'woocommerce_before_single_product_summary', 'woocommerce_show_product_sale_flash', 10 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment