Hello there,
hope you are doing well.
This problem is due to Divi builder, to fix it, copy the snippet below to your wp-content/themes/your_active_child_theme/functions.php file.
if ( ! function_exists( 'yith_ywgc_enqueue_scripts_custom' ) ) {
function yith_ywgc_enqueue_scripts_custom() {
$jquery = '
jQuery(function($){
$("form.gift-cards_form").hide();
$("form.gift-cards_form").insertAfter(".et_pb_module_inner").parent().closest(".et_pb_column.et_pb_column_1_2.et_pb_column_3.et_pb_css_mix_blend_mode_passthrough.et-last-child .et_pb_module.et_pb_text");
$("form.gift-cards_form").show();
$("form.gift-cards_form").not(":first").remove();
});';
wp_add_inline_script( 'ywgc-frontend-script', $jquery );
}
add_action( 'wp_enqueue_scripts', 'yith_ywgc_enqueue_scripts_custom', 999 );
}
Have a nice day!
Hello there,
hope you are doing well 🙂
Can you send us the link to the page where you have the shortcode?
Let us know any news, please.
Have a nice day!
Hello there,
thank you for your reply.
As you can see on the link you sent to us before, that shortcode is only available on the premium version of Gift Card, so is normal the behavior you mentioned.
Let us know any news, please.
Have a nice day!
aha okay then I understand thank you thank you