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

Adding a category block

Discussion in 'XenForo Questions and Support' started by toodlez, Dec 7, 2011.

  1. toodlez

    toodlez Active Member

    I was wondering if it is possible to add a category block to the very bottom of the forum list, that is empty... If so please let me know what code / templates to add!

    I basically wanted to keep the category header (change the title physically) that has an empty contents area

    I would use this to input a google adsense leaderboard advert!

    Thanks!
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    Just create a category node in the normal way.

    The category strip will appear.
     
  3. toodlez

    toodlez Active Member

    Now how do I put by google adsense inside of the content box?
     
  4. Brogan

    Brogan XenForo Moderator Staff Member

    Edit the node_list template and place it before the </ol>.
     
  5. toodlez

    toodlez Active Member

    Thank you, sir

    Any way to get rid of this vertical spacing on this specific node?
    Understand why it wouldn't be, if not...

    Screen shot 2011-12-07 at 10.57.14 AM.png
     
  6. Brogan

    Brogan XenForo Moderator Staff Member

    That may be from the advert itself, as there was no space with my testing.

    Can you link to the site so I can check?
     
  7. toodlez

    toodlez Active Member

    Actually I just noticed when I go to 1024x768 to view this, my categories overlap to the right on my right sidebar by having the code for the google adsense where you told me to put it...

    On a higher resolution (1280x800) this is not an issue at all...
     
  8. Brogan

    Brogan XenForo Moderator Staff Member

    Use a narrower advert.
     
  9. toodlez

    toodlez Active Member

    It's only 728 px wide
     

Share This Page