Hi,
Thanks for reaching out to us. You can add the following snippet using a plugin called Code Snippets–
add_action( 'wp_enqueue_scripts', 'gwp_wvg_remove_dashicons_frontend', 100 );
function gwp_wvg_remove_dashicons_frontend(){
wp_deregister_style( 'dashicons' );
}
It will disable dashicons from the frontend. Then you can simply add the follwing snippet to add your own fontawesome icon:
add_filter( 'woo_variation_gallery_slider_js_options', 'gwp_wvg_gal_fa_icon', 50, 1 );
function gwp_wvg_gal_fa_icon( $slider_js_options ){
$slider_js_options['prevArrow'] = '<i class="wvg-slider-prev-arrow fa fa-my-icon"></i>';
$slider_js_options['nextArrow'] = '<i class="wvg-slider-prev-arrow fa fa-my-icon"></i>';
return $slider_js_options;
}
add_filter( 'woo_variation_gallery_thumbnail_slider_js_options', 'gwp_wvg_thumb_fa_icon', 50, 1 );
function gwp_wvg_thumb_fa_icon( $thumbnail_js_options ){
$thumbnail_js_options['prevArrow'] = '<i class="wvg-slider-prev-arrow fa fa-my-icon"></i>';
$thumbnail_js_options['nextArrow'] = '<i class="wvg-slider-prev-arrow fa fa-my-icon"></i>';
return $slider_js_options;
}
You can also add the above snippets using your child theme’s functions.php.
Note: It is recommended to add the Custom Code to the child theme’s functions.php file, to avoid any data loss while updating the Parent Theme.
Hope to hear from you soon.
Thank You