Jump to content

Truncate the amount of text in a topic hovercard


Recommended Posts

You can search for TopicHover  template then towards the bottom  

find

<div class='ipsType_richText ipsType_small' data-controller='core.front.core.lightboxedImages'>
	{$tabData[1]->content()|raw}
</div>

replace 

<div class='ipsType_richText ipsType_small ipsTrucate' data-ipsTruncate data-ipsTruncate-size='4 lines' data-ipsTruncate-type='remove' data-controller='core.front.core.lightboxedImages'>
	{$tabData[1]->content()|raw}
</div>

 

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...