XenForo How to display topics horizontally and posts vertically

wikislo

Registered
first option go to your templates and find the next template

post_macros

search next code

<div class="message-cell message-cell--user">
<xf:macro template="message_macros" name="user_info" arg-user="{$post.User}"
arg-fallbackName="{$post.username}"
arg-includeMicrodata="{$includeMicrodata}"
arg-itemProp="author" />
</div>

And replace it with

<div class="message-inner {{ $post.position == 0 ? 'dis-block': ''}}">
<div class="message-cell message-cell--user">
<xf:if is="$post.position == 0">
<xf:macro template="message_macros_first" name="user_info" arg-user="{$post.User}"
arg-fallbackName="{$post.username}"/>
<xf:else />
<xf:macro template="message_macros" name="user_info" arg-user="{$post.User}"
arg-fallbackName="{$post.username}"/>
</xf:if>
</div>
 
Back
Top Bottom