Home Forums WoodMart support forum SOLD OUT BADGE NOT SHOWED PROPERLY IN SPANISH

SOLD OUT BADGE NOT SHOWED PROPERLY IN SPANISH

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #373492

    toftermaster
    Participant

    Hi, I would love to change the colour of the SOLD OUT BADGE from gray to RED, and also I need to fix this bagde beacuse I use spanish and the word instead of “SOLD OUT” is “AGOTADO” but its divided in two lines and the word looks bad, i want this word to be in one line only.

    Thanks in advance

    Attachments:
    You must be logged in to view attached files.
    #373610

    Luke Nielsen
    Keymaster

    Hello,

    In order to set the “Agotado” text in one line and also change the background color, please enter the below code to the “Global Custom CSS” area that is in Theme Settings -> Custom CSS.

    .single-product .woocommerce-product-gallery .product-label.out-of-stock {
        background-color: red;
        color: #fff;
        word-break: unset;
        padding-left: 33px;
        padding-right: 33px;
    }

    We’re thankful that you took the time to share your concerns with us.

    Kind Regards

    #375030

    toftermaster
    Participant

    Thanks for your answer. The problem got solved partially.
    I can see the “sould out” badge correctly shown with the modifications in the product page. But it is still showing the word divided in two lines and gray background in the product grid.

    Attachments:
    You must be logged in to view attached files.
    #375200

    Luke Nielsen
    Keymaster

    Hello,

    Please, replace the old code with this one, now, it should work for both pages.

    .single-product .woocommerce-product-gallery .product-label.out-of-stock,
    .product-grid-item .product-label.out-of-stock {
        background-color: red;
        color: #fff;
        word-break: unset;
        padding-left: 33px;
        padding-right: 33px;
    }

    In the meantime, feel free to ask me any questions you may have.

    Kind Regards

    #375739

    toftermaster
    Participant

    Thank you so much. Now everything looks pretty fine with the sold out badge.

    I’m still having problems with the blog and posts section, but I guess I have to open another topic for that.

    I’m happy so with woodmart and the xtemos support. Thank you so much again and have a great day.

    #376093

    Luke Nielsen
    Keymaster

    Hello,

    Our customers are incredibly important to us here and your satisfaction remains our priority at all times.

    If there’s anything you need, please write me or another member of our help desk team.

    We’re here for you!

    Kind Regards

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

The topic ‘SOLD OUT BADGE NOT SHOWED PROPERLY IN SPANISH’ is closed to new replies.