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

How to add a box above the forums

Discussion in 'Styling and Customization Questions' started by Joshua Mayer, Aug 23, 2011.

  1. Joshua Mayer

    Joshua Mayer Member


    On one of my MyBB forums, I had a box above the forums with some small images in it, but I have no idea how to do it in XenForo. You can see what I am talking about here (the server status box).

    Can this be added to Xenforo?
  2. principia

    principia Well-Known Member

    i think you can take the "ads_above_content" template and put the code in.
  3. Brogan

    Brogan XenForo Moderator Staff Member

    There will be several ways to do it once 1.1 is available.

    Using the ad_ template as principia has suggested.
    Using the new Notices feature.
    Adding a custom template to the forum_list template.

    I would recommend one of the first two methods though, to avoid manually editing the template.
  4. Joshua Mayer

    Joshua Mayer Member

    <table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
    <tr><td class="thead"><strong>Server Status:</strong></td></tr>
    <tr><td class="trow1">
    <div align=center>
    What would I need to change in that code to make it work with XenForo?

    Thanks Brogan. Where would I find the notice settings? I'm completely new to XenForo so I'm not sure where anything is. :|
  5. Brogan

    Brogan XenForo Moderator Staff Member

    Replace the $theme stuff with standard css classes and it will work fine.

Share This Page