Bit of a tricky edit... but open template: forum_view

Remove:

Code:
<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>

Then find:

Code:
                        <xf:ad position="forum_view_below_stickies" arg-forum="{$forum}" />
                    </xf:if>
will be around line 149

Add right after:

Code:
                    <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>

Then extra.less:

Code:
.custom-nodes
{
    &:before, &:after
    {
        display: block;
        padding: 12px 11px;
        .xf-xbStickyDividerText();
    }
    &:before
    {
        content: "Sub Forums";
    }
    &:after
    {
        content: "Threads";
    }
}

Result:
Screenshot_5.png
 
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. (y)

Thank you very much!

I often use child styles to test things out, make them so only admins can view them and put the edits there. This way you can test and easily port them to the live site.
 

Pre-Sale Questions

If you have any questions or concerns you want to ask before you make a purchase don't hesitate to use one of our multiple support channels for your convenience.

Back