"Reviews" don't have any Line Breaks

Store UI, layout, design, look and feel; Discussion on the customer facing pages of your online store. Cascading Style Sheets, Themes, Scriptlets, NVelocity and the components in the ConLib directory.
Post Reply
User avatar
hassonmike
Lieutenant (LT)
Lieutenant (LT)
Posts: 76
Joined: Tue Apr 19, 2011 2:13 pm
Contact:

"Reviews" don't have any Line Breaks

Post by hassonmike » Wed Jun 06, 2012 9:32 am

So we recently added AbleMods Tabbed Product Description module (http://www.ablemods.com/Tabbed-Product- ... on-P2.aspx), but now the reviews each only sit on a single line, stretching the page as long as it needs to to finish the line.

example: http://www.trickconcepts.com/Fire-Wand-P163C77.aspx

Any advice on where I should look to resolve this?

User avatar
clevername
Lieutenant (LT)
Lieutenant (LT)
Posts: 54
Joined: Tue Jan 11, 2011 8:54 am

Re: "Reviews" don't have any Line Breaks

Post by clevername » Sat Jun 09, 2012 12:46 pm

Try adding this to your CSS..

Code: Select all

pre.Reviews {
      white-space: -moz-pre-wrap !important;  
      white-space: -pre-wrap;
      white-space: -o-pre-wrap; 
      word-wrap: break-word; 
      white-space: pre-wrap;
}

User avatar
hassonmike
Lieutenant (LT)
Lieutenant (LT)
Posts: 76
Joined: Tue Apr 19, 2011 2:13 pm
Contact:

Re: "Reviews" don't have any Line Breaks

Post by hassonmike » Tue Jun 12, 2012 10:08 am

Nice! Thanks for the tip!

This code actually kept it running a little too far off the page still, but I was able to nail it with

Code: Select all

pre.Reviews {
      white-space: -moz-pre-wrap !important;  
      white-space: pre-wrap;
}
Thanks for your help!

Post Reply