Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I have a blog, with Duena Theme, and when I write is all ok. The problem is when I publish that text, and the margins of the paragraphs split my words.

For example

The horse is a very wil d animal and he is eatin g carrots, salads and lot s of....

I dont want it to be like that, I don t want my words splitted in half. If it s not enough space, I want all the word to be put down, not parts of it.

Please helppp thx

share|improve this question
add comment

2 Answers

This can be done with css. Look for word-wrap and change it to below:

.class-name {
    word-wrap: normal;
    -webkit-hyphens: none;
    -moz-hyphens: none;
    hyphens: none;
}
share|improve this answer
add comment

Firstly, this is a CSS-specific question.

Somewhere in your stylesheet you have something like the following:

-webkit-hyphens: auto;
   -moz-hyphens: auto;
    -ms-hyphens: auto;
        hyphens: auto;

Either set it generally to none or just for your desired part of the website, for example, the content wrapper.

// EDIT
I just saw you included a sample of how it looks like. Due to the missing hyphens it most probably is word-wrap: break-word; somewhere in your styles, as suggested by @Maruti Mohanty. So, fix this with word-wrap: normal;.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.