marthadotson Posted April 21 Share Posted April 21 Hello. After upgrading to CubeCart 6, we've been enjoying the Foundation skin. However, we've encountered an issue where product titles under any category are being cut off when viewed on mobile devices or in the three-column layout on desktop. Is there a way to adjust this so the entire title is visible, particularly on mobile devices? Quote Link to comment Share on other sites More sharing options...
bsmither Posted April 21 Share Posted April 21 When viewing a list of products in a given category, when that list is in 'grid' view, the product name (title) is truncated to 38 characters (including spaces), followed by a three-dot character (ellipsis). The same applies to the listing on the homepage. Using a programmer's text editor, please edit these files: content.homepage.php, near line 29: From: <h3><a href="{$product.url}" title="{$product.name}">{$product.name|truncate:38:"…"}</a></h3> To: <h3><a href="{$product.url}" title="{$product.name}">{$product.name}</a></h3> content.category.php, near line 137: From: <h3><a href="{$product.url}" title="{$product.name}">{$product.name|truncate:38:"…"}</a></h3> To: <h3><a href="{$product.url}" title="{$product.name}">{$product.name}</a></h3> Have CubeCart clear its internal cache (in admin, click the "Clear Cache" button at the upper-right corner). Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.