cannabis ape
Customer
Last one of the day, how to set sticky threads section above the sub-forums which is a much better position for me.
Cheers.
Cheers.
<xf:if is="$nodeTree">
<xf:ad position="forum_view_above_node_list" arg-forum="{$forum}" />
<div class="block">
<div class="block-container">
<div class="block-body">
<xf:macro template="forum_list" name="node_list"
arg-children="{$nodeTree}"
arg-extras="{$nodeExtras}"
arg-depth="2" />
</div>
</div>
</div>
<xf:ad position="forum_view_below_node_list" arg-forum="{$forum}" />
</xf:if>
<xf:ad position="forum_view_below_stickies" arg-forum="{$forum}" />
</xf:if>
<xf:if is="$nodeTree">
<xf:css>
.structItemContainer-group.structItemContainer-group--sticky:after
{
display: none;
}
</xf:css>
<div class="custom-nodes">
<xf:ad position="forum_view_above_node_list" arg-forum="{$forum}" />
<xf:macro template="forum_list" name="node_list"
arg-children="{$nodeTree}"
arg-extras="{$nodeExtras}"
arg-depth="2" />
<xf:ad position="forum_view_below_node_list" arg-forum="{$forum}" />
</div>
</xf:if>
.custom-nodes
{
&:before, &:after
{
display: block;
padding: 12px 11px;
.xf-xbStickyDividerText();
}
&:before
{
content: "Sub Forums";
}
&:after
{
content: "Threads";
}
}
Damn man, the best support as ever. Told Damien (BHW) the other day that the guys from pixelexit are great!
Gonna snapshot the server quick just in case and then use your edit.![]()