I am struggling to break the text inside a parent div with white-space:nowrap
. The property word-wrap:break-word
for anchor is not working. I created a JSFiddle.
All you need to do is add a different white-space rule for your div a block.
Example:
#viewed_products div a {
white-space: normal;
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With