Okay
  Public Ticket #852331
Sale logo
Closed

Comments

  • Zainal started the conversation

    Hi, how to add a text on 'Sale!' icon? For example: 50% SALE!. See attachments.

  •  1,558
    Laborator replied

    Hi Zainal,

    To translate or rename theme strings, you can do this via Loco Translate plugin. If you don't have it, please install and activate the plugin in your WordPress site.

    1. Then go to Loco Translate > Manage Translations
    2. Click "New Language" for the current active theme (if you didn't created it yet, otherwise ignore this step). On the new language page, choose these options – Screenshot
    3. After that you will be redirected to the editing screen for theme translations. Before you continue with your translations make sure the current language of your site is selected – Screenshot
    4. Follow these instructions to learn how to translate strings – Screenshot
    5. The changes will be applied immediately – Screenshot

    Note: Translation files will be saved to wp-content/themes/{theme-name}/languages folder or global directory of theme translations: wp-content/languages/themes/ (based on your choice). If you have saved your translations inside theme folder, always save a backup of *languages/* folder (inside the theme) when there is new theme update. After you update the theme (languages folder will be replaced with an empty folder), just move the backup files you previously saved to the same languages directory and your changes will still be applied.

    Best regards,
    Laborator Team


      Documentation         Join Kalium Users Group

  • Zainal replied

    If I do this, it will change every "Sale!" text. How to add 10% Sale, 20% Sale, 30% Sale - 50% Sale separately?

  •  1,558
    Laborator replied

    Hi Zainal,

    I don't have an idea how you can achieve this, you can look up for any plugin that is supported by WooCommerce cause this is not supported by the theme.

    Best regards,
    Laborator Team


      Documentation         Join Kalium Users Group

  • Zainal replied

    Hi I have changed the text for calculate shipping. But why it's different font? Can I use small caps? See attachment. Thanks.

  •  1,558
    Laborator replied

    Hi Zainal,

    Use the following CSS to fix this:

    .shop .cart_totals table tr p {
        font-family: "Roboto Condensed";
    }
    

    Best regards,
    Laborator Team


      Documentation         Join Kalium Users Group

  • Zainal replied

    Where should I put these codes? I put in Custom CSS, but didn't work. And can I change to other Font too? Example: Gill Sans...

  •  1,558
    Laborator replied

    Hi Zainal,

    You have some errors in the CSS you pasted there and that is the reason why it isn't working, please make sure you copy the CSS right when you paste it, if you want to fix it you need to send us your WordPress username and password? We need to investigate your site and then get back to you if we have a possible solution.

    Make sure to choose Private Reply when you send us sensitive informations!


    Best regards,
    Laborator Team


      Documentation         Join Kalium Users Group

  •   Zainal replied privately
  •  1,558
    Laborator replied

    Hi Zainal,

    I cleaned up a bit the CSS so it is working again, please be careful when pasting the CSS because it was all a mess.

    Best regards,
    Laborator Team


      Documentation         Join Kalium Users Group

  • Zainal replied

    Thanks a lot.

  •  1,558
    Laborator replied

    You're welcome!

    Best regards,
    Laborator Team


      Documentation         Join Kalium Users Group