I need help to replace Shipping text with other text

This topic has 6 replies, 2 voices, and was last updated 1 years, 5 months ago ago by Rose Tyler

  • Avatar: DS
    DS
    Participant
    November 26, 2022 at 18:21

    Hi,

    Can you please give me a code snippet for the following
    1 – I want to change the “Shipping” text to “ONETIME OFFER!”
    https://snipboard.io/9hQ5V8.jpg
    2 – I want to add a 2px (dash dash type) border to the complete box
    https://snipboard.io/9hQ5V8.jpg

    5 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    November 26, 2022 at 18:57

    Hello,

    1/ This text comes from WooCommerce, so you can use translation files to change it. Install and activate Loco Translate plugin > create a translation for WC plugin > change English text and disable the Loco plugin https://xstore.helpscoutdocs.com/article/30-base-theme-translation
    When you will need to change the text back, activate Loco plugin and do this, or just delete translation files.

    2/ Try to use the next custom CSS code:

    .woocommerce-checkout .woocommerce-shipping-totals {
        border: 2px dashed #555;
    }
    .woocommerce-checkout .woocommerce-shipping-totals th:first-child {
        padding-left: 15px;
    }
    .woocommerce-checkout .shop_table .woocommerce-shipping-totals td {
        padding-right: 15px;
    }

    Regards

    Avatar: DS
    DS
    Participant
    November 27, 2022 at 08:08

    Hi,

    Can you please add a code in it to align it in left side
    https://snipboard.io/gW5zm2.jpg

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    November 27, 2022 at 09:48

    Hi,

    Please provide URL of the page via the Private Content area here, so we can take a closer look.

    Regards

    Avatar: DS
    DS
    Participant
    November 27, 2022 at 09:53

    pl check

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    November 27, 2022 at 10:26

    Thanks for the reply.
    There is no such possibility, because of the table structure, sorry.

    Regards

  • Viewing 6 results - 1 through 6 (of 6 total)

The issue related to '‘I need help to replace Shipping text with other text’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.