- This topic has 3 replies, 2 voices, and was last updated 7 years, 10 months ago by Andrew Misplon.
- AuthorPosts
- January 20, 2017 at 11:32 pm #5791
knuppParticipantDear Andrew,
I would like to turn off hyphenation in my sidebar widget headlines (I want the words to go to the next line instead of breaking in the middle). I can’t seem to find the proper CSS code to do that. It seems to me that I should be using ‘word-wrap’ and “normal” should do the trick, but that’s the also default (plus I added the CSS) and the words break anyway. Is there a setting I overlooked/could it be a language setting problem (German has more hyphenation than English and longer words)? Am I getting anything wrong, and is there anything I can do about it or should I just leave it? It’s actually just one small headline so far, but I’d love to get it straight.
Thank you!
(Have a good weekend, there’s no rush.)
Kind regards,
SonjaJanuary 21, 2017 at 6:40 pm #5792
Andrew MisplonKeymasterHi Sonja
Thanks for reaching out. Please, try the following in your Custom CSS plugin or in the Customizer Additional CSS section:
#secondary .widget h3.widget-title, #colophon .widget h3.widget-title { hyphens: none; }
Let me know how that goes.
January 21, 2017 at 10:17 pm #5793
knuppParticipantHi Andrew,
thank you so much, that absolutely does the trick.
Have an awesome Sunday!
🙂 SonjaJanuary 22, 2017 at 2:15 am #5794
Andrew MisplonKeymasterAwesome 🙂 Really glad to hear that helped. All the best.
- AuthorPosts
You must be logged in to reply to this topic.