Change:
.entry-content {
-webkit-hyphens: auto;
-moz-hyphens: auto;
-ms-hyphens: auto;
hyphens: auto;
word-wrap: break-word;
}
to:
.entry-content {
-webkit-hyphens: none;
-moz-hyphens: none;
-ms-hyphens: none;
hyphens: none;
word-wrap: break-word;
}
thank you will this also work from tablets and mobile devices?
Cheers!
thank you! it seems to have worked for the monitors but not from a phone ( I am using an iPhone)
what is the coding language used? may just get a book instead of keep asking on here.
Thank you 🙂
it appears you haven’t changed anything yet. The code is still the same.
how would I change this? I have currently done it in the CSS is this wrong?
Cheers
Ok so in your style.css of the twentythirteen theme change the following:
on line 1124 change:
.entry-content {
-webkit-hyphens: auto;
-moz-hyphens: auto;
-ms-hyphens: auto;
hyphens: auto;
word-wrap: break-word;
}
to:
.entry-content {
-webkit-hyphens: none;
-moz-hyphens: none;
-ms-hyphens: none;
hyphens: none;
word-wrap: break-word;
}
and on line 2451 change:
.widget {
background-color: rgba(247, 245, 231, 0.7);
font-size: 14px;
-webkit-hyphens: auto;
-moz-hyphens: auto;
-ms-hyphens: auto;
hyphens: auto;
margin: 0 0 24px;
padding: 20px;
word-wrap: break-word;
}
to:
.widget {
background-color: rgba(247, 245, 231, 0.7);
font-size: 14px;
-webkit-hyphens: none;
-moz-hyphens: none;
-ms-hyphens: none;
hyphens: none;
margin: 0 0 24px;
padding: 20px;
word-wrap: break-word;
}
So basicly you are changing anywhere it says hyphens: auto; to hyphens: none;. CSS is correct, it just looks like you changed .entry-content > article instead of just .entry-content. It would of needed changing anyway 🙂
Hope that helps
m
(@greeninthemiddle)
Hi,
I’ve added the code that josephbydesign mentioned in my Simple Custom CSS but it doesn’t seem to work. I still get hyphens when the screen size changes.
.entry-content {
-webkit-hyphens: none;
-moz-hyphens: none;
-ms-hyphens: none;
hyphens: none;
word-wrap: break-word;
}
Hi,
I just checked the link and all is working.
See screenshot here: http://pasteboard.co/24g2uNoY.png
and here: http://pasteboard.co/24gdfK9G.png