Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #604660

    Hi,

    How can I add text “e.g. Free delivery above $x” below the “Local Delivery” option? Link to screenshot below. Thanks!

    #604713

    Hi ryanlry!

    Can you please post the link to your website?

    Cheers!
    Yigit

    #604716

    Hi, please see below

    #604723

    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

    #604727

    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!

    #604736

    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

    #604743

    Thank you! It is possible to break the text up into multiple lines?

    #604790

    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

    #604892

    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;
    }
    #605357

    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

    #605599

    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!

    #605661

    Hi,

    Great, glad we could help. Please let us know if you should need any more help on the topic.

    Thanks,
    Rikard

Viewing 12 posts - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.