[Resolved] want no hyphenation in sidebar widget headlines

  • Author
    Posts
  • #5791

    knupp
    Participant

    Dear 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,
    Sonja

    #5792

    Andrew Misplon
    Keymaster

    Hi 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.

    #5793

    knupp
    Participant

    Hi Andrew,

    thank you so much, that absolutely does the trick.

    Have an awesome Sunday!
    🙂 Sonja

    #5794

    Andrew Misplon
    Keymaster

    Awesome 🙂 Really glad to hear that helped. All the best.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

Scroll to top