Can I prevent notice/error message on checkout page from being faded out?
-
Hello.
I made my Woocommerce store display custom notice message on checkout page by adding codes below in function.php:
add_action('woocommerce_before_checkout_form', 'my_custom_message'); function my_custom_message() { wc_print_notice(__('CUSTOM MESSAGE HERE'), 'notice'); }
Indeed custom notification appears as I expected, however, I also found it is to be faded out only 10secs after checkout page loaded.
Furthermore the same situation occurs in all error messages(ribons) provided by WooCommerce originally.
I would like to provide visitors for enough time to read every message carefully. Is there anyone who knows the way to adjust when to close message ribbons or absolutely disable this function?
Thank you for your great support!
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Can I prevent notice/error message on checkout page from being faded out?’ is closed to new replies.