SOLD OUT BADGE NOT SHOWED PROPERLY IN SPANISH
-
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.
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
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.
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
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.
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
The topic ‘SOLD OUT BADGE NOT SHOWED PROPERLY IN SPANISH’ is closed to new replies.