- This topic has 9 replies, 2 voices, and was last updated 3 years, 5 months ago by Tom.
April 14, 2018 at 8:16 pm #550600Andrew Wiebe
Does GeneratePress support hyphenation? What would be the best way to implement this?
I tried the wp-Typography plugin, but it seemed to really slow down my site.
AndrewApril 14, 2018 at 9:40 pm #550615TomLead DeveloperLead DeveloperApril 14, 2018 at 9:51 pm #550617Andrew Wiebe
Yes, for example the body text in a blog post. I want words of more than one syllable at the end of the line to auto-hyphenate if necessary, to create a more even right edge. I think themes like the default WordPress themes have the feature built in.April 14, 2018 at 9:52 pm #550619TomLead DeveloperLead Developer
Give this a shot:
}April 14, 2018 at 10:06 pm #550622Andrew Wiebe
Thanks for the css, it doesn’t seem to be working. I’m not sure exactly what the normal procedure is for this, but it seems that it needs to somehow access hyphenation dictionaries that are not built into the browser. I might be completely wrong about that.April 15, 2018 at 10:13 am #550965TomLead DeveloperLead DeveloperApril 15, 2018 at 10:46 am #551005Andrew WiebeApril 15, 2018 at 8:53 pm #551269TomLead DeveloperLead DeveloperApril 15, 2018 at 11:14 pm #551327Andrew Wiebe
That’s exactly what it’s supposed to do. So far I had only tested the site on Chrome and Edge with no success. I opened it in Firefox now and the hyphenation works. So I guess with the “hyphens” css property it comes down to browser support. I may have to settle for that, unless you have other ideas of how to make it work in Chrome.
Thanks for your help 🙂April 16, 2018 at 11:37 am #551941
- You must be logged in to reply to this topic.