Home › Forums › WoodMart support forum › Changing "Sold Out" text
Changing "Sold Out" text
- This topic has 10 replies, 2 voices, and was last updated 3 years, 1 month ago by Elise Noromit.
-
AuthorPosts
-
August 26, 2021 at 7:28 pm #314808
HalloweenAlleyWebsiteParticipantHello,
I am looking to change the product “sold out” text that hovers on the product. Is there a code snippite I can use?
I am currently using a JS code snippet for the colors of this label.
Thanks!
Attachments:
You must be logged in to view attached files.August 26, 2021 at 7:28 pm #314810
HalloweenAlleyWebsiteParticipantI am looking for the text to change to “Coming Soon”
August 26, 2021 at 11:24 pm #314840
Elise NoromitMemberHello,
You can translate/rewrite all theme and plugin texts via PO file in WordPress. Here is a video tutorial that should help you translate your website texts with a Loco Translate plugin https://www.youtube.com/watch?v=D3NsDdMzsls&list=PLMw6W4rAaOgKKv0oexGHzpWBg1imvrval&index=3
Please check the video tutorial to see how to save the translation file correctly. You can remove the plugin and translations would remain. Also, translations would remain after each theme update.
When you need to change the text related to Woocommmerce, you need to create the translation in Loco > Plugins > Woocommerce.
Best Regards
August 27, 2021 at 2:25 pm #314956
HalloweenAlleyWebsiteParticipantWorked great, thank you.
I now need to adjust this font size. I cannot find the toggle in the woodmart pannel. Is there a script I can use?
Thanks,
August 28, 2021 at 12:48 am #315009
Elise NoromitMemberHello,
You can change the font by means of the Advanced typography option, which allows you to choose the item from a drop-down or insert your custom CSS class. Please navigate to the Theme Settings > Typography > Advanced Typography.
Here is the documentation providing more detailed instructions: https://xtemos.com/docs/woodmart/advanced-typography-settings/
Let me know if you need help in choosing a custom selector.
Best Regards
August 30, 2021 at 6:35 pm #315494
HalloweenAlleyWebsiteParticipantCan you assist me in choosing a custom selector for the “sold out” text that hovers over the product image?
Thanks,
August 31, 2021 at 10:45 am #315629
Elise NoromitMemberHello,
Here is the selector:
body .labels-rectangular .out-of-stock {
color:#ffffff;
background-color:#000000;
font-size:12px;
}You can take the selector or add this CSS and change as per your needs.
Best Regards
August 31, 2021 at 2:11 pm #315674
HalloweenAlleyWebsiteParticipantPerfect, worked great.
Thank you!
August 31, 2021 at 9:50 pm #315703
Elise NoromitMemberYou are welcome! We are here to help.
Wish you a wonderful day!
October 15, 2021 at 4:42 pm #325520
HalloweenAlleyWebsiteParticipantHello,
Are you able to provide me with the CSS same code, but for mobile?
Thanks!
October 15, 2021 at 4:44 pm #325521
Elise NoromitMemberHello,
Please add this code to the Theme Settings > Custom CSS > General it would be applied in all the devices, if you need on mob only, then add the code to the Theme Settings > Custom CSS > Mobile.
If you have any questions please feel free to contact us.
Best Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register