1. 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

Discussion in 'Styling and Customization Questions' started by Andy.N, Nov 3, 2013.

  1. Andy.N

    Andy.N Well-Known Member

    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
  2. Andy.N

    Andy.N Well-Known Member

    Can you anyone please provide some hints on how to do this? Thanks
  3. Matthew Hawley

    Matthew Hawley Well-Known Member

    Which style is that?
  4. Andy.N

    Andy.N Well-Known Member

  5. Andy.N

    Andy.N Well-Known Member

    Would anyone care to suggest something I should look into?
  6. Russ

    Russ Well-Known Member

    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 and Andy.N like this.
  7. Phases

    Phases Active Member

    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
    Russ likes this.

Share This Page