I'm sure this is simple but can anyone please help me find the correct code to centre the image in the below code
add_action('woocommerce_after_add_to_cart_button', 'add_content_on_add_to_cart_button');
function add_content_on_add_to_cart_button() {
echo "<img src='image.png' width=70% >";
}
For context, this code is currently being used in a wordpress websites functions.php file. It is calling woocommerce hooks.
TIA