Hello there,
In order to achieve what you need, add the following code in the functions.php file of your active child theme:
if ( ! function_exists( 'yith_wcwl_custom_styles' ) ) {
function yith_wcwl_custom_styles() {
$jquery = 'jQuery( function($) {
let wishlistContainer = $( "body.single-product .summary .yith-wcwl-add-to-wishlist" );
wishlistContainer.insertAfter( ".summary button.single_add_to_cart_button" );
$( "body.single-product .summary .yith-wcwl-add-to-wishlist a" ).css({"padding":"10px 20px","margin-left":"15px",})
});';
wp_add_inline_script( 'jquery-yith-wcwl', $jquery );
wp_add_inline_script( 'jquery-yith-wcwl-user', $jquery );
}
add_action( 'wp_enqueue_scripts', 'yith_wcwl_custom_styles', 99 );
}
Check it out and tell us if it works well for you, please.
Best regards.