markjl Posted August 23, 2012 Share Posted August 23, 2012 It seems that the on the default template, the width of product descriptions is quite limited. Also sometimes the title wraps to the next line and sometimes not. See this page for example where I am obliged to use abbreviations to get the text in. Can i increase the length of the title displayed? Link to comment Share on other sites More sharing options...
vekia Posted August 23, 2012 Share Posted August 23, 2012 It seems that the on the default template, the width of product descriptions is quite limited. Also sometimes the title wraps to the next line and sometimes not. See this page for example where I am obliged to use abbreviations to get the text in. Can i increase the length of the title displayed? yes you can increase the length of the title. You just must edit file product-list.tpl in your theme directory. find line: <h3>{if isset($product.new) && $product.new == 1}<span class="new">{l s='New'}</span>{/if}<a href="{$product.link|escape:'htmlall':'UTF-8'}" title="{$product.name|escape:'htmlall':'UTF-8'}">{$product.name|truncate:35:'...'|escape:'htmlall':'UTF-8'}</a></h3> and edit {$product.name|truncate:35:'...'|escape:'htmlall':'UTF-8'} 35 is length of the product name 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