All things Shopify and commerce
Hi,
I have a store in Korean and in English. While the English version has not particular problem, the Korean version has words cut in random places (the words cut change depending on the screen used). How do I solve this problem so the word, instead of being cut, goes to the lone below ?
Thanks in advance for your help !
Solved! Go to the solution
This is an accepted solution.
Hi @MedleyKorea ,
Happy to hear that! Just replace the code block with this new one to include paragraph tags too. I am wary of adding it globally to the entire site hence the specific targeting of elements.
html:lang(ko) ul[data-mce-fragment='1'] li[data-mce-fragment='1'],html:lang(ko) p {
word-break: keep-all !important;
}
If you want to enable it globally then use the following block instead
html:lang(ko) * {
word-break: keep-all !important;
}
♥ If you found my solution helpful, please consider giving it a Like and marking it as the ✔ Accepted Solution
Try our WhatsApp Chat Button Widget with multipe agents. Supachat: WhatsApp Chat Button
Find the cheapest fuel in Australia with FuelSpot. FuelSpot:Cheapest fuel prices near me
Your ✨Ultimate List of the ✅Best GPTs GptList:Search from a Curated Collection of 1,800+ custom GPT's for Every Purpose
A Product of Maverick Studio
Hi @MedleyKorea ,
That is a strange problem. Can you share the link to your store and a screenshot of where the problems occur?
♥ If you found my solution helpful, please consider giving it a Like and marking it as the ✔ Accepted Solution
Try our WhatsApp Chat Button Widget with multipe agents. Supachat: WhatsApp Chat Button
Find the cheapest fuel in Australia with FuelSpot. FuelSpot:Cheapest fuel prices near me
Your ✨Ultimate List of the ✅Best GPTs GptList:Search from a Curated Collection of 1,800+ custom GPT's for Every Purpose
A Product of Maverick Studio
Hi @MaverickStudio ,
Thanks for your answer ! The store is www.medleykorea.com
You can see in the screenshot that the English is fine but the Korean words are cut (red line where it shouldn't be). The problem occurs not only in particular pages but in all the store, on PC, tablets, phones.
Please let me know if you have an idea on how to fix this 🙂
Hey @MedleyKorea
Here's the solution. Css usually considers a space as a line break and due to the Chinese/Japanese/Korean alphabet it tends to break words that aren't supposed to be. The following block fixes it for the particular section that you faced an issue with 🙂
Go to Online Store > Themes > Edit code.
Find base.css and add this at the bottom.
html:lang(ko) ul[data-mce-fragment='1'] li[data-mce-fragment='1'] {
word-break: keep-all !important;
}
♥ If you found my solution helpful, please consider giving it a Like and marking it as the ✔ Accepted Solution
Try our WhatsApp Chat Button Widget with multipe agents. Supachat: WhatsApp Chat Button
Find the cheapest fuel in Australia with FuelSpot. FuelSpot:Cheapest fuel prices near me
Your ✨Ultimate List of the ✅Best GPTs GptList:Search from a Curated Collection of 1,800+ custom GPT's for Every Purpose
A Product of Maverick Studio
Thank you very much @MaverickStudio !
It solved the problem on the page I screenshotted but on the other page (our brand) and in the multicolumn on the main page, the problem is still there. Any idea why ?
This is an accepted solution.
Hi @MedleyKorea ,
Happy to hear that! Just replace the code block with this new one to include paragraph tags too. I am wary of adding it globally to the entire site hence the specific targeting of elements.
html:lang(ko) ul[data-mce-fragment='1'] li[data-mce-fragment='1'],html:lang(ko) p {
word-break: keep-all !important;
}
If you want to enable it globally then use the following block instead
html:lang(ko) * {
word-break: keep-all !important;
}
♥ If you found my solution helpful, please consider giving it a Like and marking it as the ✔ Accepted Solution
Try our WhatsApp Chat Button Widget with multipe agents. Supachat: WhatsApp Chat Button
Find the cheapest fuel in Australia with FuelSpot. FuelSpot:Cheapest fuel prices near me
Your ✨Ultimate List of the ✅Best GPTs GptList:Search from a Curated Collection of 1,800+ custom GPT's for Every Purpose
A Product of Maverick Studio
No worries @MedleyKorea !
Best of luck with expanding your business outside of Korea.
If you need any further assistance, feel free to reach out.
♥ If you found my solution helpful, please consider giving it a Like and marking it as the ✔ Accepted Solution
Try our WhatsApp Chat Button Widget with multipe agents. Supachat: WhatsApp Chat Button
Find the cheapest fuel in Australia with FuelSpot. FuelSpot:Cheapest fuel prices near me
Your ✨Ultimate List of the ✅Best GPTs GptList:Search from a Curated Collection of 1,800+ custom GPT's for Every Purpose
A Product of Maverick Studio
Hey Community! As we jump into 2025, we want to give a big shout-out to all of you wh...
By JasonH Jan 7, 2025Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024