this line
Code:
$lc_text = implode('<br />', $product_contents);
puts a break between each element of the array. If some of the elements are empty then it will appear that there are two breaks or three in a row. You need to go deeper and find which elements you are not using and remove them from the array first.
the css won't mess anything else up because it only has effect in that div. But you are right that the php solution is better.
(for clarity $product_contents is an array. it has multiple elements. column grid 'amalgamates' the array into a single string by using 'implode' so that all the elements, that would normally be in different chunks, end up in a single string. )
Bookmarks