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

XF 1.5 Post New Thread Button

Optic

Well-known member
#2
1 - Is it possible to make it a different color? ( like Red for Example)
Hi @Jack Bastide , that can be adjusted in Style Properties > Buttons > Call to Action Button Container
call-to-action.png
2 is it possible to move it (see Image)
This is more tricky, you'll need to open the forum_view template and find this code:
Code:
<xen:if is="{$canPostThread}">
    <xen:set var="$newDiscussionButton"><a href="{xen:link 'forums/create-thread', $forum}" class="callToAction"><span>{xen:phrase post_new_thread}</span></a></xen:set>
    <xen:if is="!{$renderedNodes}">
        <xen:topctrl>{xen:raw $newDiscussionButton}</xen:topctrl>
    </xen:if>
</xen:if>
Then move it to your desired location. Based on your screenshot you want to move it outside the breadcrumb, so perhaps try moving it just before the Watch Forum link. You'll likely need to tinker with CSS to get it how you want.