Home Forums WoodMart support forum How to add text before the sale label?

How to add text before the sale label?

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #483588

    RD
    Participant

    Hello,
    on the theme options we have the option to “Sale” label in percentage.
    so on the front, each product in sale get a label with something like: -%50
    I would like to add a fixed text before this number so it will say: You Save: 50%
    how can I do that?

    thanks.

    #483611

    Hello,

    The Sales label is too small and this text would not fit the width of the label. If we make a small text it would not be readable.

    If you have any questions please feel free to contact us.

    Best Regards

    #483613

    RD
    Participant

    thanks for the answer.
    can’t we do it bigger? so the width will be bigger? I don’t think it will cause to an issue.
    Please let me know how can I do that.

    thanks.

    #483623

    Hello,

    If we make it bigger all the labels: new /how would also be increased. If it fits you, please provide the page URL.

    Best Regards

    #483691

    RD
    Participant

    can you explain how I can do it? and I will do it myself?
    I don’t need the css code, just to know how to add the extra text I need and where.

    thanks.

    #483896

    Hello,

    If you have CSS skills you can do it on your own.

    If you need help, please provide the page URL.

    If you have any questions please feel free to contact us.

    Best Regards

    #483941

    RD
    Participant

    Hello,

    please provide me the code to add the text before the %xx amount.
    thanks.

    #484067

    Hello,

    Please add this code to the Theme Settings > Custom CSS > Global:

    .product-labels.labels-rounded .product-label:before {
    content:"You Save: "
    }

    if this code does not work, try this one:

    .product-labels.labels-rectangular .product-label:before {
    content:"You Save: "
    }

    If you have any questions please feel free to contact us.

    Best Regards

    #484135

    RD
    Participant

    thanks,
    but also, how can I remove the minus sign?
    so it will say: “You Save: 60%” AND NOT “You Save: -60%”

    thanks.

    #484170

    Hello,

    Unfortunately, it is not possible to remove the minus. It is a part of the text.

    If you have any questions please feel free to contact us.

    Best Regards

Viewing 10 posts - 1 through 10 (of 10 total)