Title: Remove or adjust ‘clear’ function on variable products
Last modified: January 11, 2025

---

# Remove or adjust ‘clear’ function on variable products

 *  Resolved [gee12121](https://wordpress.org/support/users/gee12121/)
 * (@gee12121)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/remove-or-adjust-clear-function-on-variable-products/)
 * ![](https://i0.wp.com/i.postimg.cc/76hG751T/1.png?ssl=1)
 * Please help.
 * Some recent updates added this “clear” button! How and where can I adjust it?
   It has a strange look on the side and I in the “add to cart” element there is
   no possibility to change the style. Simply remove it with some custom css code
   would do the job as well ?
 * thanks for your help
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fremove-or-adjust-clear-function-on-variable-products%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [Zee](https://wordpress.org/support/users/doublezed2/)
 * (@doublezed2)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/remove-or-adjust-clear-function-on-variable-products/#post-18238167)
 * Hello [gee12121](https://wordpress.org/support/users/gee12121/),
 * Thank you for contacting WooCommerce support.
 * You can hide the button using this custom CSS code.
 *     ```wp-block-code
       form.cart .reset_variations {display: none !important;}
       ```
   
 * ![](https://i0.wp.com/snipboard.io/V6QF7Y.jpg?ssl=1)
 * Let me know if you have any questions.
 * Best regards.
 *  Thread Starter [gee12121](https://wordpress.org/support/users/gee12121/)
 * (@gee12121)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/remove-or-adjust-clear-function-on-variable-products/#post-18238247)
 * oh wow – seems to work. thank yo so so much.
 * I there a way to have tis globally for every single product page or do I really
   need to add this as customc css to every snippet to every “add to cart element”
 * thanks in advance
 *  Plugin Support [shahzeen(woo-hc)](https://wordpress.org/support/users/shahzeenfarooq/)
 * (@shahzeenfarooq)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/remove-or-adjust-clear-function-on-variable-products/#post-18238325)
 * Hi there!
 * The CSS code shared by my colleague should work for all product pages. To assist
   you further, could you please provide more information on exactly how and where
   you added that CSS code?
 * I’ve checked the issue and noticed that the CSS code is only loading for this
   product: [https://www.rebellis.ch/health-shop/soeder-seife/](https://www.rebellis.ch/health-shop/soeder-seife/).
 * It seems like the CSS code may have been added specifically for this product 
   only. I can see that you are using the Astra Classic theme. Could you please 
   ensure that the custom CSS code is added in **Appearance → Customizer → Additional
   CSS**?
 * Once you provide more details on how the CSS code was added, we’ll be able to
   assist you further.
 * Thank you!
 *  Thread Starter [gee12121](https://wordpress.org/support/users/gee12121/)
 * (@gee12121)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/remove-or-adjust-clear-function-on-variable-products/#post-18238371)
 * thank you guys. I added it as decribed and it works perfectly, I was searching
   for that global css setting 😉
 * Thank you

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Remove or adjust ‘clear’ function on variable products’ is closed to 
new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

## Tags

 * [add to cart](https://wordpress.org/support/topic-tag/add-to-cart/)
 * [clear button](https://wordpress.org/support/topic-tag/clear-button/)

 * 4 replies
 * 3 participants
 * Last reply from: [gee12121](https://wordpress.org/support/users/gee12121/)
 * Last activity: [1 year, 4 months ago](https://wordpress.org/support/topic/remove-or-adjust-clear-function-on-variable-products/#post-18238371)
 * Status: resolved