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

XF 1.4 Trying to add a header for posts

Discussion in 'Styling and Customization Questions' started by mike406, Dec 25, 2014.

  1. mike406

    mike406 Member

    Hi all. I'm trying to add a header above posts like this. I've tried it by placing the code in the message template right under the opening <li id="{messageId}"...>. I can position it where I want it to however I only want it to appear on top of posts and not conversations. Is there some sort of conditional I can use? Or another template I am missing that might be a better placement?

  2. Steve F

    Steve F Well-Known Member

    Try this

    <xen:if is="!{$conversation}">
    mike406 likes this.
  3. mike406

    mike406 Member

    Thank you so much! I had a feeling it was something simple like that. :)

Share This Page