WordPress.org

Forums

Ridizain
[resolved] How to stop words from splitting (4 posts)

  1. jmoura
    Member
    Posted 1 year ago #

    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

  2. Zulfikar Nore
    Member
    Theme Author

    Posted 1 year ago #

    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

  3. jmoura
    Member
    Posted 1 year ago #

    Thanks Zulf!

    I'm gonna give it a try!

    regards,
    Joao

  4. jmoura
    Member
    Posted 1 year ago #

    It has solved the problem right away!!!

    Thanks :-)

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.