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

XF 1.2 How to move the "Create New Thread"/"Add Resource" buttons

Andy.N

Well-known member
#1
On the default style, the buttons are on the top right of the breadcrumb. In some 3rd party styles, i see it on the bottom right of the breadcrumb such as these images.

Which templates I need to edit to move the buttons in that position. Thank you.

Screen Shot 2013-11-03 at 10.11.41 AM.png Screen Shot 2013-11-03 at 10.12.09 AM.png
 

Russ

Well-known member
#6
Would anyone care to suggest something I should look into?
Hey Andy, stepping out right now but you can start in page_container, remove the topCtrl snippit from the breadcrumb include area and move it below into the content area. You may need a float/do some css adjustments on it.
 

Phases

Active member
#7
Thanks a ton Russ. This was KILLING ME. Believe it or not, all I did was this:

<div class="breadBoxTop {xen:if $topctrl-x, withTopCtrl}">

.. in case I ever wanted to come back and fix it. It does exactly what I need. It lets those two buttons hide behind the navbar on mobile, which is fine with me. For New Thread (and User Albums), there is another button. For Resource - Well I'd just be shocked if anyone was to add a resource on their phone. :p