"Sale" badge/icon – change text.

This topic has 7 replies, 3 voices, and was last updated 7 years, 7 months ago ago by Olga Barlow

  • Avatar: Olexi
    Olexi
    Participant
    May 23, 2017 at 15:06

    Hi,

    could not find a solution in the forum, so here’s my question.

    I need to change the word “sale” to “aktion” … how can i manage this?

    I mean for the badge/icon that is shown inside the product picture on the shop & product page for products on sale.

    Many thanks.

    6 Answers
    Avatar: Olexi
    Olexi
    Participant
    May 23, 2017 at 15:07

    we have changed color, size etc. with CSS … but could not mange to change the word inside the circle.

    .onsale {
    background: #b2a08a;
    width: 4em;
    height: 4em;
    color: #fff;
    line-height: 3.8em;
    font-size: 1.4rem;
    margin-left: 25px;
    }

    Avatar: maxmullins
    Max Mullins
    Participant
    May 23, 2017 at 15:26

    Hello, @Olexi

    Use translation if you want to change any text from template files https://www.8theme.com/documentation/xstore/theme-translation/base-theme-translation/
    In other case, you will need to edit template files but you’ll lose changes after theme update.

    Regrards,
    Max Mullins

    Avatar: Olexi
    Olexi
    Participant
    May 23, 2017 at 16:05

    Wow, many thanks for the quick reply.

    But my php knowledge is very limited … could you give more specific advice what exactly to chnage.

    Would appreciate that very much 🙂

    Avatar: maxmullins
    Max Mullins
    Participant
    May 23, 2017 at 17:23

    You may install loco plugin for translation our theme from wordpress codex directory:Please check out following screenshot with options to translate every sigle li of theme template, plugins translation included too . This plugin is included in our theme manual:https://www.8theme.com/documentation/xstore/theme-translation/base-theme-translation/.

    Regards,
    Max Mullins

    Avatar: Olexi
    Olexi
    Participant
    May 23, 2017 at 17:29

    translating worked like a charm … legend !

    Many thanks.

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    May 24, 2017 at 09:18

    You are welcome!

    Regards

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

You must be logged in to reply to this topic.Log in/Sign up

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