Delete the words “UP TO” on the sale label

Solved8 replies5 participantsUpdated by Tony Rodriguez

XStore documentationProduct badges in XStore: Sale, New, Hot and Out of stock
  • Avatar: ziga32
    ziga32
    Participant

    I’m using this configuration.
    https://share.cleanshot.com/7zg6PlS3

    Is there a way I could delete the words “up to” whish is “ZNIŽANO” on the screenshot?
    https://share.cleanshot.com/7zg6PlS3

    I know I can disable this, but I only want to delete these words on mobile, so I need to target it with CSS, I guess.

    8 Answers

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff

    Hello, ziga32,

    Since this is a single line, it will not be possible to achieve the desired result using only CSS. We will need to modify the structure of the element. To do this, we will require administrative and FTP access to your website.

    Best regards,
    8Theme Team

    Avatar: ziga32
    ziga32
    Participant

    thank you

    I have this on
    ergovision.si
    ergovision.hr
    ergovision.es

    if that is important?

    Please contact administrator
    for this information.
    Avatar: Justin
    Luca Rossi
    Support staff

    Dear @ziga32,

    Please check the private content area.

    Thank you.

    Best regards,
    The 8Theme Team

    Please contact administrator
    for this information.
    Avatar: ziga32
    ziga32
    Participant

    Like I said, I only want to remove this on mobile. removing it in string translation would remove it from desktop as well..

    Avatar: Jack Richardson
    Jack Richardson
    Support staff

    Hello @ziga32,

    You may try using the following custom CSS snippet:

    @media only screen and (max-width: 979px) {
        .product-type-simple .onsale.left {
            text-indent: -70px;
            word-spacing: 15px;
            overflow: hidden;
        }
    }

    Best regards,
    Jack Richardson
    The 8Theme Team

    Avatar: ziga32
    ziga32
    Participant

    thank you. I fixed it with ::before on desktop.

    Avatar: ziga32
    ziga32
    Participant

    Thanks for the support! My topic “delete the words “UP TO” on the sale label” has been successfully resolved.

    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff

    Dear ziga32,

    We really appreciate your time and engagement within the WordPress & WooCommerce community

    Your feedback drives every improvement we make in XStore — helping us deliver a smoother and more flexible experience with each update.

    Your input makes a real difference.

    Topic closed.
    The 8Theme Team

The issue related to '‘delete the words “UP TO” on the sale label’' has been successfully resolved, and the topic is now closed for further responses