1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to show more of the text from a post in the node list?

Discussion in 'Styling and Customization Questions' started by cdub, Apr 15, 2013.

  1. cdub

    cdub Well-Known Member

    How do you make it so it shows more of the post title in the node list?

    See this page:


    See where the latest posts are and the titles are cut off with the .... - how do I make it show more of the title there without having to hover the mouse?
  2. cdub

    cdub Well-Known Member

    anyone? bueller?
  3. Brogan

    Brogan XenForo Moderator Staff Member

    Look in the node_forum_level_2 and node_category_level_2 templates for these lines:

    {xen:helper wordTrim, $forum.lastPost.title, 30}
    {xen:string wordTrim, $category.lastPost.title, 30}

    Change the value to suit.
  4. cdub

    cdub Well-Known Member

    I changed it - but the text just continues and doesn't wrap around.
  5. Brogan

    Brogan XenForo Moderator Staff Member

    You didn't say you wanted it to wrap, just show more characters.

    You will need to make CSS changes to .node .nodeLastPost {white-space: normal }
    You will more than likely need to make further changes to accommodate the extra row used by the title.
  6. cdub

    cdub Well-Known Member

    Ahh.. nevermind then.

Share This Page