Page 1 of 1

How do I spread product title in modules?

Posted: Tue Jan 21, 2014 6:40 pm
by fred123
I have long product titles and want them on 2 or more lines depending on the length but for some reason they are displaying on 1 long line so looks odd.

I have tried changing the div name to :
<div class="name"><a href="<?php echo $product['href']; ?>"><?php echo html_entity_decode(str_replace(", ", ",<br />", $product['name']), ENT_QUOTES, 'UTF-8'); ?></a></div>

as per another thread but this doesn't work.

Please advise, thanks :)

Re: How do I spread product title in modules?

Posted: Tue Jan 21, 2014 9:53 pm
by Xyph3r
Please give us the webpage with the above mentioned problem. There shouldn't be a problem with the code. It's more of a css problem. Check the length of the ".box-product .name" in your stylesheet or ".box-product > div"

SOLVED Re: How do I spread product title in modules?

Posted: Fri Jan 24, 2014 8:14 pm
by fred123
I have sorted it thanks, the column widths were auto rather than a certain size.

Thanks