Hoodgrown Posted May 19, 2009 Share Posted May 19, 2009 I want to increase the amount of characters displayed in the titles of featured products on the home page of my site. How would I go about doing that? Link to comment Share on other sites More sharing options...
jhnstcks Posted May 20, 2009 Share Posted May 20, 2009 Look for the following line in your modules>homefeatured>homefeatured.tpl file {$product.name|truncate:50|escape:htmlall:'UTF-8'} and change the truncate to however many characters you want, I have mine on 50. Link to comment Share on other sites More sharing options...
Hoodgrown Posted May 20, 2009 Author Share Posted May 20, 2009 Thanks a lot. That did the trick!! Link to comment Share on other sites More sharing options...
nuttis Posted August 21, 2010 Share Posted August 21, 2010 I had the same problem so i change it to 50 also but now the title writes over the description text. How do i move down the description a bit?www.parfymbutiken.nuThanks! Link to comment Share on other sites More sharing options...
jhnstcks Posted August 21, 2010 Share Posted August 21, 2010 You could add the code Height:40px to #center_column div.products_block p.product_desc, #center_column div.products_block h5 in your global.css file. Link to comment Share on other sites More sharing options...
gsxr1000au Posted November 30, 2010 Share Posted November 30, 2010 To prevent overlapping the product name i changed global.css #center_column div.products_block h5 { display: block; margin-top: 8px; height: 2.57em to #center_column div.products_block h5 { display: block; margin-top: 8px; height: 4em Hope this helps Link to comment Share on other sites More sharing options...
Housy Posted January 26, 2011 Share Posted January 26, 2011 {$product.name|truncate:50|escape:htmlall:'UTF-8'} Thanks for this =)Housy Link to comment Share on other sites More sharing options...
chriskim Posted February 7, 2011 Share Posted February 7, 2011 After import product csv japanese lang and Product names don’t appear .I use prestahop 1.3.6 and vps hostSome products name appear, but some products name looks like ' ... ' in product list.but, Product detail page I will see the product name without a problemI've increased the length of items, but It's same that.( in my theme/product-list.tpl , I did modify truncate:60 )help me~~ Link to comment Share on other sites More sharing options...
vlatko Posted March 14, 2012 Share Posted March 14, 2012 (edited) sorry, wrong thread Edited March 14, 2012 by vlatko (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now