Hy,
I want to delete HTML br tag from Woocommerce form-checkout. I want to do this so that the text "Ship to a different address?" can go up beside the check-box. I don’t know how to do this .
br
2
using jQuery
$('.input-checkbox').next().remove();
You don’t need to use JS for this. You can simply hide br tag using CSS.
JS
CSS
.woocommerce-shipping-fields .input-checkbox ~ br { display: none; }
Click here to cancel reply.
2
Answers
using jQuery
You don’t need to use
JS
for this. You can simply hidebr
tag usingCSS
.