Hi,
How can I add text “e.g. Free delivery above $x” below the “Local Delivery” option? Link to screenshot below. Thanks!
Hi, please see below
Hi!
Please add following code to Quick CSS in Enfold theme options under General Styling tab
.woocommerce-cart label[for="shipping_method_0_mh_wc_table_rate"]:after {
content: ' (Free delivery above 10$)';
}
Cheers!
Yigit
Hi,
Thanks for the quick reply – I added the code and it’s not showing up on the checkout page. Would you please check? Thank you!
Hi!
Please change the code to following one
label[for="shipping_method_0_mh_wc_table_rate"]:after {
content: ' (Free delivery above 10$)';
}
Regards,
Yigit
Thank you! It is possible to break the text up into multiple lines?
Hey!
You can make it possible by using the following CSS rule
http://www.w3schools.com/cssref/css3_pr_word-wrap.asp
Please do let us know if that works out for you
Regards,
Basilis
Hi,
I’m not sure if I’m using the property wrongly – it’s not working for me:
label[for="shipping_method_0_mh_wc_table_rate"]:after {
content: ' (Orders below $50: $9 delivery charge<br>Orders $50-$119: $6 delivery charge<br>Orders $120~: Free delivery)'; word-wrap: break-word; width: 200px;
}
Hey!
Can you please go to WooCommerce > Settings > Shipping > edit your shipping class and then change its title and insert your custom text with HTML in there?
Regards,
Yigit
The WooCommerce settings strips HTML so the line breaks doesn’t work. I have decided to use a single line instead, so the CSS trick is sufficient for now. Thanks!