Wondering how I can rename the wording from Clear to my own words on the Variation option to Clear them.
Currently I have this for resizing it, but can you please help with the renaming of the wording
/*Change color etc Reset Variation*/
a.reset_variations {
font-size:18px;
}
Also at the moment it sits under the description box.
Is it possible to move to the under the variation options
Thanks
Hey wealthyone,
Try adding this code on your child theme’s functions.php (just replace the word Clear):
add_filter('woocommerce_reset_variations_link', 'replace_clear');
function replace_clear() {
return '<a class="reset_variations" href="#">' . esc_html__( 'Clear', 'woocommerce' ) . '</a>';
}
Best regards,
Nikko
Thanks Nikko
Every time you help me, I hit a home run, as every time you are spot on. Thanks..
Is it possible to move to the under the variation options?
Hi wealthyone,
Thanks for your kind words, and we’re just glad that we could help :D
Try adding this css code in Quick CSS, located in Enfold > General Styling:
#top table.variations td.value {
position: relative;
}
#top .reset_variations {
bottom: -15px;
right: 50px;
}
just adjust the bottom and right values as you see fit.
Best regards,
Nikko
Again. Perfect. Thankyou very much Nikko
Hi wealthyone,
We’re glad that we could help :)
Thanks for using Enfold and have a great weekend :D
Best regards,
Nikko