sailing123 Posted February 14, 2017 Share Posted February 14, 2017 Hello everyone, I have a problem with the H3 title given to product list in categories for instance. I am guessing that the title has a limited number of characters given and if the title exceeds that threshold it gets shortened with 3 dots. Not good ! I have been searching through the css files to address the problem but I have yet to find the source. I also tried to reduce the size of that H3 title but only managed with desktop, not with small devices but not sure that this is the right approach anyway. Thanks for your help. Many thanks S. Quote Link to comment Share on other sites More sharing options...
bsmither Posted February 14, 2017 Share Posted February 14, 2017 The product name (title) in Category grid view is a display-logic decision. This is found near line 134 in content.category.php: <h3><a href="{$product.url}" title="{$product.name}">{$product.name|truncate:38:"…"}</a></h3> The above truncates to 38 characters and appends an ellipsis. There is a similar statement in content.homepage.php for the Latest Products. Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted February 14, 2017 Share Posted February 14, 2017 I took the truncate:38:"hellip;" part off a long time ago, if you want to see what it looks like without it. dirtybutter.com/plushcatalog Quote Link to comment Share on other sites More sharing options...
sailing123 Posted February 15, 2017 Author Share Posted February 15, 2017 Spot on ! All resolved. Thank you very much both :-) S. 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.