Title: Remove &#8216;clear&#8217; function on variable products
Last modified: January 25, 2022

---

# Remove ‘clear’ function on variable products

 *  Resolved [robbie615](https://wordpress.org/support/users/robbie615/)
 * (@robbie615)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/remove-clear-function-on-variable-products/)
 * Hi there,
 * would you be able to provide some CSS to help with removing the ‘clear’ button
   that appears after selecting an option on a variable product?
 * Have tried a.reset_variations {display: none;} but this doesn’t seem to work.
 * Many thanks
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fremove-clear-function-on-variable-products%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [mother.of.code](https://wordpress.org/support/users/imazed/)
 * (@imazed)
 * The Mother of Code
 * [4 years, 2 months ago](https://wordpress.org/support/topic/remove-clear-function-on-variable-products/#post-15288808)
 * Hey [@robbie615](https://wordpress.org/support/users/robbie615/) – I tried the`
   display: none;` on that class, using the developer console and that appeared 
   to have worked fine. Depending on how you are adding this bit of CSS, you may
   want to add `!important` after it, so like this:
 * `a.reset_variations {display: none !important;}`
 *  Thread Starter [robbie615](https://wordpress.org/support/users/robbie615/)
 * (@robbie615)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/remove-clear-function-on-variable-products/#post-15289226)
 * Perfect, that’s it working now! Thanks so much 🙂
 *  [mother.of.code](https://wordpress.org/support/users/imazed/)
 * (@imazed)
 * The Mother of Code
 * [4 years, 2 months ago](https://wordpress.org/support/topic/remove-clear-function-on-variable-products/#post-15289711)
 * Awesome, happy to have been able to help!

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

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

 * ![](https://i0.wp.com/themes.svn.wordpress.org/storefront/4.6.2/screenshot.png)
 * Storefront
 * [Support Threads](https://wordpress.org/support/theme/storefront/)
 * [Active Topics](https://wordpress.org/support/theme/storefront/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/storefront/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/storefront/reviews/)

## Tags

 * [css](https://wordpress.org/support/topic-tag/css/)
 * [variable products](https://wordpress.org/support/topic-tag/variable-products/)

 * 3 replies
 * 2 participants
 * Last reply from: [mother.of.code](https://wordpress.org/support/users/imazed/)
 * Last activity: [4 years, 2 months ago](https://wordpress.org/support/topic/remove-clear-function-on-variable-products/#post-15289711)
 * Status: resolved