Removing Hyphens

  • Author
    Posts
  • #158021

    Wondering if it’s possible to get CSS that will just make text go to the next line rather than hyphenating. It appears to be happening on headers, like blog posts titles on the home page “Local Partner Spotlight: Wa-
    termelon Salsa”, and on widgets: “Follow A-
    long”.

    The blog I need help with is: (visible only to logged in users)

    #158030
    alexteodorescu08
    Theme Author

    Hi,

    How are things going on your side of the world?
    I hope you are confident that we are going to make it work with COVID-19.

    Regarding your issue, here’s a workaround using custom code:

    .entry-title,.card__title h2,.widget__title{
    hyphens: manual;
    }

    Insert it in Appearance → Customize → Additional CSS.

    Stay safe,
    Alexandru
    Pixelgrade

    #158034
    parkhurstdining
    Member
    Original poster

    Doing great over here – I hope you are as well!
    Thank you so much, this worked.

    #158035
    parkhurstdining
    Member
    Original poster

    Is it possible to get a code/tweak this code so the body of posts also don’t hyphenate? Thanks!

    #158304
    alinclamba
    Staff

    Hey,

    We fixed this through the other support topic.

    Best,
    Alin

  • The topic ‘Removing Hyphens’ is closed to new replies.