• Resolved jmoura

    (@jmoura)


    Hi there Zulf!

    How do I stop the words from splitting on my posts and pages content?

    Do we have to play with CSS or is there any easier solution/trick?

    Thank you

    Joao

Viewing 3 replies - 1 through 3 (of 3 total)
  • Theme Author Brian Harris

    (@zgani)

    Hello Joao,

    You can prevent the word break by inserting the following CSS in either a child theme or a custom css plugin…

    .entry-content,
    .entry-summary,
    .page-content {
    	-webkit-hyphens: none;
    	-moz-hyphens:    none;
    	-ms-hyphens:     none;
    	hyphens:         none;
    	word-wrap: normal;
    }

    If you want to keep the hyphens then use something like…

    .entry-content,
    .entry-summary,
    .page-content {
    	word-wrap: normal;
    }

    Hope that helps.

    Regards,
    Zulf

    Thread Starter jmoura

    (@jmoura)

    Thanks Zulf!

    I’m gonna give it a try!

    regards,
    Joao

    Thread Starter jmoura

    (@jmoura)

    It has solved the problem right away!!!

    Thanks ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to stop words from splitting’ is closed to new replies.