Spainman Posted March 1, 2013 Share Posted March 1, 2013 Hi all, On the Featured products section of my front page, the teaser description under each products appears crushed. One solution I have thought of, is to limit the the "TITLE" of the products to 2 lines instead 3 as some of them appear, but only on the Featured section, not for the rest of the site. Ive attached a screenshot with red markings to show what Im refering to. Also my url is. http://62.81.159.230/~canicoba Regards. Link to comment Share on other sites More sharing options...
parsifal Posted March 1, 2013 Share Posted March 1, 2013 (edited) I don't think that the "Featured products" module configuration has a ready-to-use setting for what you need to do. So, the only solution would be to edit the Smarty template file of the "homefeatured" module, located in the directory /YOURPRESTASHOPINSTALLATION/modules/homefeatured/homefeatured.tpl. You could use the "truncate" feature of Smarty to set a max character limit for the titles of your featured products. See some examples here: http://www.smarty.ne...er.truncate.tpl http://stackoverflow...cters-in-smarty Edited March 1, 2013 by parsifal (see edit history) Link to comment Share on other sites More sharing options...
Carolina Custom Designs Posted March 1, 2013 Share Posted March 1, 2013 My first recommendation would be to go from 4 products to 3 products in a row. It looks too crowded the way it is. A couple other things that will help is to increase some of the div heights in Featured Products. Also, having everything centered aligned does not look that great IMO. Check this out and see if you like it better --> http://static.carolinacustomdesigns.com/f/reposteriacanicoba.png 3 in a row increased height and padding settings left aligned the product description Marty Shue Link to comment Share on other sites More sharing options...
Spainman Posted March 1, 2013 Author Share Posted March 1, 2013 That´s awesome Marty! So much better that way. Can you give me the settings you used and also, how do I adjust it so that 3 products show each line as you have placed it? Thanks again. Link to comment Share on other sites More sharing options...
PascalVG Posted March 3, 2013 Share Posted March 3, 2013 Hi Spainman, In one of our previous sessions we added an height:auto to the height of this block, remember? Set it (as I recommended then) to a fixed height of 30px. that should easily do the trick. Link to comment Share on other sites More sharing options...
Recommended Posts