Sold Out Label Position Change
-
Hello,
I am trying to change the position of the “Sold Out” and the “Discount” label on the products.
I want to do this on the child theme files aka functions.php
The way we want to change this is depicted in the attached images, I just want you to tell me which WooCommerce template files should be extended for this changes to take effect.
Attachments:
You must be
logged in to view attached files.
Hello,
It is not possible to move only these labels, we can provide the CSS to move all: new/sales/sold out.
Please advise if it is workable and you need help with this.
Best Regards
Hello,
If you can provide us with the CSS that would be great.
Thank you!
Hello,
Please add this code to the Theme Settings > Custom CSS > Global:
If your labels are round:
body .labels-rounded {
left: auto;
right:7px;
}
If your labels are rectangular:
body .labels-rectagular {
left: auto;
right:7px;
}
Best Regards