Jump to content

[Resolved] Product List H3 title shortened - issue


sailing123
 Share

Recommended Posts

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.

Link to comment
Share on other sites

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:"&hellip;"}</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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...