gmoussa73 Posted November 30, 2010 Share Posted November 30, 2010 when pressing on a category it opens a product list every product in its box with image and title and price....my problem is , the title font is big...does not show the full product name at all....the box is big how can i make the title to show in full in the box space? i dont mind if the title shows in two or three lines because so much empty place within the box......any help how to fit the whole title within this box?thanx in advance for every help rendered Link to comment Share on other sites More sharing options...
rocky Posted December 2, 2010 Share Posted December 2, 2010 To display the full product name on product listings, change line 8 of product-list.tpl (in PrestaShop v1.3.2) from: {if $product.new == 1}{l s='new'}{/if}<a href="{$product.link|escape:'htmlall':'UTF-8'}" title="{$product.name|escape:'htmlall':'UTF-8'}">{$product.name|truncate:35:'...'|escape:'htmlall':'UTF-8'} to: {if $product.new == 1}{l s='new'}{/if}<a href="{$product.link|escape:'htmlall':'UTF-8'}" title="{$product.name|escape:'htmlall':'UTF-8'}">{$product.name|escape:'htmlall':'UTF-8'} To change the font size, add a font-size to the ul#product_list li h3 block in the /* product-list.tpl */ section. Link to comment Share on other sites More sharing options...
gmoussa73 Posted December 2, 2010 Author Share Posted December 2, 2010 dude...worked like a charm!!! thanx a million...now the titles are showing in full....................... Link to comment Share on other sites More sharing options...
rocky Posted December 2, 2010 Share Posted December 2, 2010 Great. Please edit your first post and add [sOLVED] to the front of the title. 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