Stefanoz Posted January 31, 2010 Share Posted January 31, 2010 Hello Friends,congratulation for this forum!Its amazing!I just wanna ask you a simple question:How can i longer the title in the featured products?do i have to work on the global css?please look in the attachment!Best regards Link to comment Share on other sites More sharing options...
tomerg3 Posted January 31, 2010 Share Posted January 31, 2010 In /modules/homefeatured/homefeatured.tpl, change 27 to a higher number {$product.name|truncate:27:'...'|escape:'htmlall':'UTF-8'} Link to comment Share on other sites More sharing options...
Oda Posted February 10, 2010 Share Posted February 10, 2010 Hi,This solution solve the problem in Firefox, Chrome, etc... But IE show a new problem.See the imagem. Have any solution to solve this problem in Internet Explorer, on show more caracters in the title? Link to comment Share on other sites More sharing options...
Harun Posted February 13, 2010 Share Posted February 13, 2010 Hi here's the solutionStep 1 : in your global.css file change the height value in below lineset it to 50px if title is 50 char long or 35px if 32 char long #center_column div.products_block h5 {display: block;height: 2.57em; } and thereafter change the height of product block with css selector shown below ( find in global.css )#center_column .products_block ul li this is the height of a single product item on homepage including overlapping pixels ( if height is fixed, if fluid then no problem)do the above and we will see how it goes. also mention your site uri so that we can have a look at it and suggest parametersNote: before you proceed take backup of global.css file Link to comment Share on other sites More sharing options...
Rayan Posted May 5, 2011 Share Posted May 5, 2011 Hi here's the solutionStep 1 : in your global.css file change the height value in below lineset it to 50px if title is 50 char long or 35px if 32 char long#center_column div.products_block h5 {display: block;height: 2.57em; } and thereafter change the height of product block with css selector shown below ( find in global.css )#center_column .products_block ul li this is the height of a single product item on homepage including overlapping pixels ( if height is fixed, if fluid then no problem)do the above and we will see how it goes. also mention your site uri so that we can have a look at it and suggest parametersNote: before you proceed take backup of global.css file I see that you posted a solution and no one even took the opportunity to THANK YOU. I would like to take this opportunity to THANK YOU as your post solved the problem I was facing. I was searching for hours and hours and at last ended up paying some1 to get my work done. Then finally I found this post and it solved the issue in 5 mins.Thanks once again.Prestashop should keep a special button for THANKING people who post good answers. 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