Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Staralfur Posted March 15, 2019 Posted March 15, 2019 Hi, how can I increase the number of characters in the post title (and have it wrap to a second line nicely?). This is for the forum sidebar widget, please see red circle. Thanks.
rgf100 Posted March 15, 2019 Posted March 15, 2019 I would... create a custom block with the settings you want. Content tab > Use as base for custom widget > Then you need to look at <div class='ipsType_break ipsContained'><a href="{$comment->url()}" title='{lang="view_this_topic" sprintf="$comment->item()->title"}' class='ipsType_medium ipsTruncate ipsTruncate_line'>{$comment->item()->title}</a></div> and make some changes. Refer to the bit just below on the post text for one way... <div class='ipsType_medium ipsType_textBlock ipsType_richText ipsType_break ipsContained ipsSpacer_top ipsSpacer_half' data-ipsTruncate data-ipsTruncate-type='remove' data-ipsTruncate-size='{{if $orientation == 'vertical'}}6 lines{{else}}2 lines{{endif}}' data-ipsTruncate-watch='false'>
Recommended Posts
Archived
This topic is now archived and is closed to further replies.